assign en = (EN_INV) ? ~EN : EN;\r
assign sr = (SR_INV) ? ~SR : SR;\r
\r
- initial Q = 1'b0;\r
+ initial Q = 1'bX;\r
\r
always @(posedge clk or posedge sr)\r
begin\r
assign en = (G_INV) ? ~G : G;\r
assign sr = (SR_INV) ? ~SR : SR;\r
\r
- initial Q = 1'b0;\r
+ initial Q = 1'bX;\r
\r
always @(*)\r
begin\r
if (check_label("map_regs"))\r
{\r
run("opt_clean");\r
- run("dfflegalize -cell $_DFFE_????_ 0 -cell $_DLATCH_???_ 0");\r
+ run("dfflegalize -cell $_DFFE_????_ x -cell $_DLATCH_???_ x");\r
run("techmap -map +/gatemate/reg_map.v");\r
run("opt_expr -mux_undef");\r
run("simplemap");\r