فهرست منبع

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,