Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 9 additions and 2 deletions.
  1. +5 −0 constraints.py
  2. +4 −2 milkymist/framebuffer/__init__.py
View
5 constraints.py
@@ -100,6 +100,11 @@ def get_ucf(self, ns):
TIMESPEC "TSphy_tx_clk" = PERIOD "GRPphy_tx_clk" 40 ns HIGH 50%;
TIMESPEC "TSphy_tx_clk_io" = FROM "GRPphy_tx_clk" TO "PADS" 10 ns;
TIMESPEC "TSphy_rx_clk_io" = FROM "PADS" TO "GRPphy_rx_clk" 10 ns;
+
+NET "asfifo*/counter_read/gray_count*" TIG;
+NET "asfifo*/counter_write/gray_count*" TIG;
+NET "asfifo*/preset_empty*" TIG;
+
""".format(phy_rx_clk=ns.get_name(self._phy_rx_clk), phy_tx_clk=ns.get_name(self._phy_tx_clk))
return r
View
6 milkymist/framebuffer/__init__.py
@@ -191,7 +191,6 @@ def get_fragment(self):
clkport="clk_write")
t = self.token("dac")
return Fragment([
- Cat(self.vga_hsync_n, self.vga_vsync_n, self.vga_r, self.vga_g, self.vga_b).eq(asfifo.outs["data_out"]),
asfifo.ins["read_en"].eq(1),
self.endpoints["dac"].ack.eq(~asfifo.outs["full"]),
@@ -200,7 +199,10 @@ def get_fragment(self):
self.busy.eq(0),
asfifo.ins["rst"].eq(0)
- ], instances=[asfifo])
+ ], [
+ Cat(self.vga_hsync_n, self.vga_vsync_n, self.vga_r, self.vga_g, self.vga_b).eq(asfifo.outs["data_out"])
+ ],
+ instances=[asfifo])
class Framebuffer:
def __init__(self, address, asmiport):

No commit comments for this range

Something went wrong with that request. Please try again.