endmodule
// --------------------------------------------------------
+`ifndef SIMLIB_NOSR
module \$sr (SET, CLR, Q);
endmodule
+`endif
// --------------------------------------------------------
module \$dff (CLK, D, Q);
endmodule
// --------------------------------------------------------
+`ifndef SIMLIB_NOSR
module \$dffsr (CLK, SET, CLR, D, Q);
endmodule
+`endif
// --------------------------------------------------------
module \$adff (CLK, ARST, D, Q);
endmodule
// --------------------------------------------------------
+`ifndef SIMLIB_NOSR
module \$dlatchsr (EN, SET, CLR, D, Q);
endmodule
+`endif
// --------------------------------------------------------
module \$fsm (CLK, ARST, CTRL_IN, CTRL_OUT);