[<<][rtl][>>][..]
Mon Aug 13 12:11:46 EDT 2018

MyHDL concat

This can't take constants.

	c_1_0 = Signal(modbv(0)[1:0])
	c_1_1 = Signal(modbv(1)[1:0])

http://discourse.myhdl.org/t/constant-bit-vectors-in-a-concat-expression/121

A binary string fixes it:

	def blk20():
		s63.next = (((concat(s18, "0")) if s62 else ((concat("1", (s63[9:1]))) if 1 else s63)))


EDIT: Done




[Reply][About]
[<<][rtl][>>][..]