Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 2 commits
  • 2 files changed
  • 0 comments
  • 1 contributor
5  constraints.py
@@ -100,6 +100,11 @@ def get_ucf(self, ns):
100 100
 TIMESPEC "TSphy_tx_clk" = PERIOD "GRPphy_tx_clk" 40 ns HIGH 50%;
101 101
 TIMESPEC "TSphy_tx_clk_io" = FROM "GRPphy_tx_clk" TO "PADS" 10 ns;
102 102
 TIMESPEC "TSphy_rx_clk_io" = FROM "PADS" TO "GRPphy_rx_clk" 10 ns;
  103
+
  104
+NET "asfifo*/counter_read/gray_count*" TIG;
  105
+NET "asfifo*/counter_write/gray_count*" TIG;
  106
+NET "asfifo*/preset_empty*" TIG;
  107
+
103 108
 """.format(phy_rx_clk=ns.get_name(self._phy_rx_clk), phy_tx_clk=ns.get_name(self._phy_tx_clk))
104 109
 	
105 110
 		return r
6  milkymist/framebuffer/__init__.py
@@ -191,7 +191,6 @@ def get_fragment(self):
191 191
 			clkport="clk_write")
192 192
 		t = self.token("dac")
193 193
 		return Fragment([
194  
-			Cat(self.vga_hsync_n, self.vga_vsync_n, self.vga_r, self.vga_g, self.vga_b).eq(asfifo.outs["data_out"]),
195 194
 			asfifo.ins["read_en"].eq(1),
196 195
 			
197 196
 			self.endpoints["dac"].ack.eq(~asfifo.outs["full"]),
@@ -200,7 +199,10 @@ def get_fragment(self):
200 199
 			
201 200
 			self.busy.eq(0),
202 201
 			asfifo.ins["rst"].eq(0)
203  
-		], instances=[asfifo])
  202
+		], [
  203
+			Cat(self.vga_hsync_n, self.vga_vsync_n, self.vga_r, self.vga_g, self.vga_b).eq(asfifo.outs["data_out"])
  204
+		],
  205
+		instances=[asfifo])
204 206
 
205 207
 class Framebuffer:
206 208
 	def __init__(self, address, asmiport):

No commit comments for this range

Something went wrong with that request. Please try again.