a) v2act_quote ( transform/v2act/v2act_quote.sed ) should be for handling more than 9 bits :) (i added a + after the first number bracket) proposed fixs/\([0-9]+\)'b\([01][01][01]*\)/\1'b"\2"/g
b) because v2act_quote.sed is marked as a target in the makefile it is deleted if you run make realclean
so it needs to be restored from git, Wanted behaviour: dont delete this target
c) the binary numbers are read LSB to MSB should be MSB to LSB:
module blk0(out);
output [7:0] out;
assign out = 8'b00111100;
endmodule
Describe the bug
a) v2act_quote ( transform/v2act/v2act_quote.sed ) should be for handling more than 9 bits :) (i added a + after the first number bracket) proposed fix
s/\([0-9]+\)'b\([01][01][01]*\)/\1'b"\2"/g
b) because v2act_quote.sed is marked as a target in the makefile it is deleted if you run make realclean so it needs to be restored from git, Wanted behaviour: dont delete this target
c) the binary numbers are read LSB to MSB should be MSB to LSB:
results in
but should be wanted behaviour