- [
- ("data_out", BV(data_width)),
- ("empty", BV(1)),
-
- ("full", BV(1))
- ], [
- ("read_en", BV(1)),
- ("clk_read", self.vga_clk),
-
- ("data_in", BV(data_width)),
- ("write_en", BV(1)),
-
- ("rst", BV(1))
- ],
- parameters=[
- ("data_width", data_width),
- ("address_width", 8)
- ],
- clkport="clk_write")
+ Instance.Parameter("data_width", data_width),
+ Instance.Parameter("address_width", 8),
+
+ Instance.Output("data_out", BV(data_width)),
+ Instance.Output("empty", BV(1)),
+ Instance.Input("read_en", BV(1)),
+ Instance.Input("clk_read", self.vga_clk),
+
+ Instance.Input("data_in", BV(data_width)),
+ Instance.Output("full", BV(1)),
+ Instance.Input("write_en", BV(1)),
+ Instance.ClockPort("clk_write"),
+
+ Instance.Input("rst", BV(1)))