Преглед на файлове

cores/video: Don't force reg in simulation

iverilog seems to have issues with some constructs used in
the 'prims.v' file, so just avoid them for now.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut преди 4 години
родител
ревизия
1512628a34
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      cores/video/rtl/vid_tgen.v

+ 3 - 0
cores/video/rtl/vid_tgen.v

@@ -34,7 +34,10 @@
  */
 
 `default_nettype none
+
+`ifndef SIM
 `define FORCE_REG		// Yosys fuckery workaround :/
+`endif
 
 module vid_tgen #(
 	parameter integer H_WIDTH  = 12,