improved timing, added timing constraints, got rid of CLK_33M

Design compiles and runs, but still has issues with different screen resolutions and video clocks
This commit is contained in:
Markus Fröschle
2015-09-23 09:49:05 +00:00
parent ca251a2cf1
commit 03a110f03b
19 changed files with 1631 additions and 1519 deletions

View File

@@ -2373,7 +2373,7 @@ applicable agreement for further details.
(pt 144 40)
(output)
(text "q[17..0]" (rect 0 0 43 13)(font "Arial" (font_size 8)))
(text "q[17..0]" (rect 87 34 123 47)(font "Arial" (font_size 8)))
(text "q[17..0]" (rect 87 34 130 47)(font "Arial" (font_size 8)))
(line (pt 144 40)(pt 128 40)(line_width 3))
)
(drawing
@@ -2401,7 +2401,7 @@ applicable agreement for further details.
(pt 48 16)
(output)
(text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 18)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible))
(line (pt 32 16)(pt 48 16))
)
(drawing
@@ -2446,7 +2446,7 @@ applicable agreement for further details.
(pt 64 40)
(output)
(text "OUT" (rect 48 31 69 42)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 31 65 42)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 31 69 42)(font "Courier New" (bold))(invisible))
(line (pt 56 40)(pt 64 40))
)
(drawing
@@ -2475,7 +2475,7 @@ applicable agreement for further details.
(pt 48 16)
(output)
(text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 18)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16))
)
(drawing
@@ -2514,7 +2514,7 @@ applicable agreement for further details.
(pt 232 24)
(output)
(text "dataout" (rect 0 0 43 13)(font "Arial" (font_size 8)))
(text "dataout" (rect 193 11 229 24)(font "Arial" (font_size 8)))
(text "dataout" (rect 193 11 236 24)(font "Arial" (font_size 8)))
(line (pt 232 24)(pt 152 24))
)
(drawing
@@ -2557,7 +2557,7 @@ applicable agreement for further details.
(pt 232 24)
(output)
(text "dataout" (rect 0 0 43 13)(font "Arial" (font_size 8)))
(text "dataout" (rect 193 11 229 24)(font "Arial" (font_size 8)))
(text "dataout" (rect 193 11 236 24)(font "Arial" (font_size 8)))
(line (pt 232 24)(pt 152 24))
)
(drawing
@@ -2600,7 +2600,7 @@ applicable agreement for further details.
(pt 232 24)
(output)
(text "dataout" (rect 0 0 43 13)(font "Arial" (font_size 8)))
(text "dataout" (rect 193 11 229 24)(font "Arial" (font_size 8)))
(text "dataout" (rect 193 11 236 24)(font "Arial" (font_size 8)))
(line (pt 232 24)(pt 152 24))
)
(drawing
@@ -2643,7 +2643,7 @@ applicable agreement for further details.
(pt 232 24)
(output)
(text "dataout" (rect 0 0 43 13)(font "Arial" (font_size 8)))
(text "dataout" (rect 193 11 229 24)(font "Arial" (font_size 8)))
(text "dataout" (rect 193 11 236 24)(font "Arial" (font_size 8)))
(line (pt 232 24)(pt 152 24))
)
(drawing
@@ -2706,7 +2706,7 @@ applicable agreement for further details.
(pt 48 16)
(output)
(text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 18)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16))
)
(drawing
@@ -2731,7 +2731,7 @@ applicable agreement for further details.
(pt 48 16)
(output)
(text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 18)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16))
)
(drawing
@@ -2756,7 +2756,7 @@ applicable agreement for further details.
(pt 48 16)
(output)
(text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 18)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16))
)
(drawing
@@ -2781,7 +2781,7 @@ applicable agreement for further details.
(pt 48 16)
(output)
(text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 18)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16))
)
(drawing
@@ -2806,7 +2806,7 @@ applicable agreement for further details.
(pt 48 16)
(output)
(text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 18)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16))
)
(drawing
@@ -2831,7 +2831,7 @@ applicable agreement for further details.
(pt 48 16)
(output)
(text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 18)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16))
)
(drawing
@@ -2863,7 +2863,7 @@ applicable agreement for further details.
(pt 64 24)
(output)
(text "OUT" (rect 48 15 69 26)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 26)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 69 26)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24))
)
(drawing
@@ -2873,110 +2873,6 @@ applicable agreement for further details.
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
)
)
(symbol
(rect 608 496 984 728)
(text "altpll4" (rect 168 1 210 17)(font "Arial" (font_size 10)))
(text "i_video_clock_pll" (rect 8 213 92 224)(font "Arial" ))
(port
(pt 0 72)
(input)
(text "inclk0" (rect 0 0 34 13)(font "Arial" (font_size 8)))
(text "inclk0" (rect 4 56 38 69)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 88 72))
)
(port
(pt 0 96)
(input)
(text "areset" (rect 0 0 36 13)(font "Arial" (font_size 8)))
(text "areset" (rect 4 80 40 93)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 88 96))
)
(port
(pt 0 120)
(input)
(text "scanclk" (rect 0 0 44 13)(font "Arial" (font_size 8)))
(text "scanclk" (rect 4 104 48 117)(font "Arial" (font_size 8)))
(line (pt 0 120)(pt 88 120))
)
(port
(pt 0 144)
(input)
(text "scandata" (rect 0 0 53 13)(font "Arial" (font_size 8)))
(text "scandata" (rect 4 128 57 141)(font "Arial" (font_size 8)))
(line (pt 0 144)(pt 88 144))
)
(port
(pt 0 168)
(input)
(text "scanclkena" (rect 0 0 64 13)(font "Arial" (font_size 8)))
(text "scanclkena" (rect 4 152 68 165)(font "Arial" (font_size 8)))
(line (pt 0 168)(pt 88 168))
)
(port
(pt 0 192)
(input)
(text "configupdate" (rect 0 0 73 13)(font "Arial" (font_size 8)))
(text "configupdate" (rect 4 176 77 189)(font "Arial" (font_size 8)))
(line (pt 0 192)(pt 88 192))
)
(port
(pt 376 72)
(output)
(text "c0" (rect 0 0 15 13)(font "Arial" (font_size 8)))
(text "c0" (rect 359 56 371 69)(font "Arial" (font_size 8)))
(line (pt 376 72)(pt 288 72))
)
(port
(pt 376 96)
(output)
(text "scandataout" (rect 0 0 70 13)(font "Arial" (font_size 8)))
(text "scandataout" (rect 302 80 361 93)(font "Arial" (font_size 8)))
(line (pt 376 96)(pt 288 96))
)
(port
(pt 376 120)
(output)
(text "scandone" (rect 0 0 56 13)(font "Arial" (font_size 8)))
(text "scandone" (rect 317 104 364 117)(font "Arial" (font_size 8)))
(line (pt 376 120)(pt 288 120))
)
(port
(pt 376 144)
(output)
(text "locked" (rect 0 0 37 13)(font "Arial" (font_size 8)))
(text "locked" (rect 335 128 366 141)(font "Arial" (font_size 8)))
(line (pt 376 144)(pt 288 144))
)
(drawing
(text "Cyclone III" (rect 301 214 352 225)(font "Arial" ))
(text "inclk0 frequency: 48.000 MHz" (rect 98 123 244 134)(font "Arial" ))
(text "Operation Mode: Normal" (rect 98 140 220 151)(font "Arial" ))
(text "Clk " (rect 99 167 119 178)(font "Arial" ))
(text "Ratio" (rect 125 167 152 178)(font "Arial" ))
(text "Ph (dg)" (rect 159 167 196 178)(font "Arial" ))
(text "DC (%)" (rect 204 167 241 178)(font "Arial" ))
(text "c0" (rect 103 185 115 196)(font "Arial" ))
(text "2/1" (rect 131 185 146 196)(font "Arial" ))
(text "0.00" (rect 167 185 190 196)(font "Arial" ))
(text "50.00" (rect 209 185 238 196)(font "Arial" ))
(line (pt 0 0)(pt 377 0))
(line (pt 377 0)(pt 377 233))
(line (pt 0 233)(pt 377 233))
(line (pt 0 0)(pt 0 233))
(line (pt 96 164)(pt 246 164))
(line (pt 96 181)(pt 246 181))
(line (pt 96 199)(pt 246 199))
(line (pt 96 164)(pt 96 199))
(line (pt 122 164)(pt 122 199)(line_width 3))
(line (pt 156 164)(pt 156 199)(line_width 3))
(line (pt 201 164)(pt 201 199)(line_width 3))
(line (pt 245 164)(pt 245 199))
(line (pt 88 56)(pt 288 56))
(line (pt 288 56)(pt 288 216))
(line (pt 88 216)(pt 288 216))
(line (pt 88 56)(pt 88 216))
)
)
(symbol
(rect 456 -352 760 -104)
(text "altpll2" (rect 132 1 174 17)(font "Arial" (font_size 10)))
@@ -2992,35 +2888,35 @@ applicable agreement for further details.
(pt 304 72)
(output)
(text "c0" (rect 0 0 15 13)(font "Arial" (font_size 8)))
(text "c0" (rect 287 56 299 69)(font "Arial" (font_size 8)))
(text "c0" (rect 287 56 302 69)(font "Arial" (font_size 8)))
(line (pt 304 72)(pt 272 72))
)
(port
(pt 304 96)
(output)
(text "c1" (rect 0 0 14 13)(font "Arial" (font_size 8)))
(text "c1" (rect 287 80 298 93)(font "Arial" (font_size 8)))
(text "c1" (rect 287 80 301 93)(font "Arial" (font_size 8)))
(line (pt 304 96)(pt 272 96))
)
(port
(pt 304 120)
(output)
(text "c2" (rect 0 0 15 13)(font "Arial" (font_size 8)))
(text "c2" (rect 287 104 299 117)(font "Arial" (font_size 8)))
(text "c2" (rect 287 104 302 117)(font "Arial" (font_size 8)))
(line (pt 304 120)(pt 272 120))
)
(port
(pt 304 144)
(output)
(text "c3" (rect 0 0 15 13)(font "Arial" (font_size 8)))
(text "c3" (rect 287 128 299 141)(font "Arial" (font_size 8)))
(text "c3" (rect 287 128 302 141)(font "Arial" (font_size 8)))
(line (pt 304 144)(pt 272 144))
)
(port
(pt 304 168)
(output)
(text "c4" (rect 0 0 15 13)(font "Arial" (font_size 8)))
(text "c4" (rect 287 152 299 165)(font "Arial" (font_size 8)))
(text "c4" (rect 287 152 302 165)(font "Arial" (font_size 8)))
(line (pt 304 168)(pt 272 168))
)
(drawing
@@ -3172,28 +3068,28 @@ applicable agreement for further details.
(pt 328 72)
(output)
(text "c0" (rect 0 0 15 13)(font "Arial" (font_size 8)))
(text "c0" (rect 311 56 323 69)(font "Arial" (font_size 8)))
(text "c0" (rect 311 56 326 69)(font "Arial" (font_size 8)))
(line (pt 328 72)(pt 272 72))
)
(port
(pt 328 96)
(output)
(text "c1" (rect 0 0 14 13)(font "Arial" (font_size 8)))
(text "c1" (rect 311 80 322 93)(font "Arial" (font_size 8)))
(text "c1" (rect 311 80 325 93)(font "Arial" (font_size 8)))
(line (pt 328 96)(pt 272 96))
)
(port
(pt 328 120)
(output)
(text "c2" (rect 0 0 15 13)(font "Arial" (font_size 8)))
(text "c2" (rect 311 104 323 117)(font "Arial" (font_size 8)))
(text "c2" (rect 311 104 326 117)(font "Arial" (font_size 8)))
(line (pt 328 120)(pt 272 120))
)
(port
(pt 328 144)
(output)
(text "locked" (rect 0 0 37 13)(font "Arial" (font_size 8)))
(text "locked" (rect 287 128 318 141)(font "Arial" (font_size 8)))
(text "locked" (rect 287 128 324 141)(font "Arial" (font_size 8)))
(line (pt 328 144)(pt 272 144))
)
(drawing
@@ -3321,49 +3217,49 @@ applicable agreement for further details.
(pt 216 40)
(output)
(text "busy" (rect 0 0 29 13)(font "Arial" (font_size 8)))
(text "busy" (rect 171 32 195 45)(font "Arial" (font_size 8)))
(text "busy" (rect 171 32 200 45)(font "Arial" (font_size 8)))
(line (pt 216 40)(pt 200 40))
)
(port
(pt 216 96)
(output)
(text "data_out[8..0]" (rect 0 0 79 13)(font "Arial" (font_size 8)))
(text "data_out[8..0]" (rect 129 88 195 101)(font "Arial" (font_size 8)))
(text "data_out[8..0]" (rect 129 88 208 101)(font "Arial" (font_size 8)))
(line (pt 216 96)(pt 200 96)(line_width 3))
)
(port
(pt 216 152)
(output)
(text "pll_scandata" (rect 0 0 71 13)(font "Arial" (font_size 8)))
(text "pll_scandata" (rect 135 144 195 157)(font "Arial" (font_size 8)))
(text "pll_scandata" (rect 135 144 206 157)(font "Arial" (font_size 8)))
(line (pt 216 152)(pt 200 152))
)
(port
(pt 216 168)
(output)
(text "pll_scanclk" (rect 0 0 64 13)(font "Arial" (font_size 8)))
(text "pll_scanclk" (rect 141 160 195 173)(font "Arial" (font_size 8)))
(text "pll_scanclk" (rect 141 160 205 173)(font "Arial" (font_size 8)))
(line (pt 216 168)(pt 200 168))
)
(port
(pt 216 200)
(output)
(text "pll_scanclkena" (rect 0 0 83 13)(font "Arial" (font_size 8)))
(text "pll_scanclkena" (rect 125 192 195 205)(font "Arial" (font_size 8)))
(text "pll_scanclkena" (rect 125 192 208 205)(font "Arial" (font_size 8)))
(line (pt 216 200)(pt 200 200))
)
(port
(pt 216 216)
(output)
(text "pll_configupdate" (rect 0 0 93 13)(font "Arial" (font_size 8)))
(text "pll_configupdate" (rect 117 208 195 221)(font "Arial" (font_size 8)))
(text "pll_configupdate" (rect 117 208 210 221)(font "Arial" (font_size 8)))
(line (pt 216 216)(pt 200 216))
)
(port
(pt 216 248)
(output)
(text "pll_areset" (rect 0 0 56 13)(font "Arial" (font_size 8)))
(text "pll_areset" (rect 148 240 195 253)(font "Arial" (font_size 8)))
(text "pll_areset" (rect 148 240 204 253)(font "Arial" (font_size 8)))
(line (pt 216 248)(pt 200 248))
)
(drawing
@@ -3377,6 +3273,110 @@ applicable agreement for further details.
(line (pt 16 24)(pt 16 273))
)
)
(symbol
(rect 608 496 984 728)
(text "altpll4" (rect 168 1 210 17)(font "Arial" (font_size 10)))
(text "i_video_clk_pll" (rect 8 213 81 224)(font "Arial" ))
(port
(pt 0 72)
(input)
(text "inclk0" (rect 0 0 34 13)(font "Arial" (font_size 8)))
(text "inclk0" (rect 4 56 38 69)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 88 72))
)
(port
(pt 0 96)
(input)
(text "areset" (rect 0 0 36 13)(font "Arial" (font_size 8)))
(text "areset" (rect 4 80 40 93)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 88 96))
)
(port
(pt 0 120)
(input)
(text "scanclk" (rect 0 0 44 13)(font "Arial" (font_size 8)))
(text "scanclk" (rect 4 104 48 117)(font "Arial" (font_size 8)))
(line (pt 0 120)(pt 88 120))
)
(port
(pt 0 144)
(input)
(text "scandata" (rect 0 0 53 13)(font "Arial" (font_size 8)))
(text "scandata" (rect 4 128 57 141)(font "Arial" (font_size 8)))
(line (pt 0 144)(pt 88 144))
)
(port
(pt 0 168)
(input)
(text "scanclkena" (rect 0 0 64 13)(font "Arial" (font_size 8)))
(text "scanclkena" (rect 4 152 68 165)(font "Arial" (font_size 8)))
(line (pt 0 168)(pt 88 168))
)
(port
(pt 0 192)
(input)
(text "configupdate" (rect 0 0 73 13)(font "Arial" (font_size 8)))
(text "configupdate" (rect 4 176 77 189)(font "Arial" (font_size 8)))
(line (pt 0 192)(pt 88 192))
)
(port
(pt 376 72)
(output)
(text "c0" (rect 0 0 15 13)(font "Arial" (font_size 8)))
(text "c0" (rect 359 56 374 69)(font "Arial" (font_size 8)))
(line (pt 376 72)(pt 288 72))
)
(port
(pt 376 96)
(output)
(text "scandataout" (rect 0 0 70 13)(font "Arial" (font_size 8)))
(text "scandataout" (rect 302 80 372 93)(font "Arial" (font_size 8)))
(line (pt 376 96)(pt 288 96))
)
(port
(pt 376 120)
(output)
(text "scandone" (rect 0 0 56 13)(font "Arial" (font_size 8)))
(text "scandone" (rect 317 104 373 117)(font "Arial" (font_size 8)))
(line (pt 376 120)(pt 288 120))
)
(port
(pt 376 144)
(output)
(text "locked" (rect 0 0 37 13)(font "Arial" (font_size 8)))
(text "locked" (rect 335 128 372 141)(font "Arial" (font_size 8)))
(line (pt 376 144)(pt 288 144))
)
(drawing
(text "Cyclone III" (rect 301 214 352 225)(font "Arial" ))
(text "inclk0 frequency: 48.000 MHz" (rect 98 123 244 134)(font "Arial" ))
(text "Operation Mode: Normal" (rect 98 140 220 151)(font "Arial" ))
(text "Clk " (rect 99 167 119 178)(font "Arial" ))
(text "Ratio" (rect 125 167 152 178)(font "Arial" ))
(text "Ph (dg)" (rect 159 167 196 178)(font "Arial" ))
(text "DC (%)" (rect 204 167 241 178)(font "Arial" ))
(text "c0" (rect 103 185 115 196)(font "Arial" ))
(text "2/1" (rect 131 185 146 196)(font "Arial" ))
(text "0.00" (rect 167 185 190 196)(font "Arial" ))
(text "50.00" (rect 209 185 238 196)(font "Arial" ))
(line (pt 0 0)(pt 377 0))
(line (pt 377 0)(pt 377 233))
(line (pt 0 233)(pt 377 233))
(line (pt 0 0)(pt 0 233))
(line (pt 96 164)(pt 246 164))
(line (pt 96 181)(pt 246 181))
(line (pt 96 199)(pt 246 199))
(line (pt 96 164)(pt 96 199))
(line (pt 122 164)(pt 122 199)(line_width 3))
(line (pt 156 164)(pt 156 199)(line_width 3))
(line (pt 201 164)(pt 201 199)(line_width 3))
(line (pt 245 164)(pt 245 199))
(line (pt 88 56)(pt 288 56))
(line (pt 288 56)(pt 288 216))
(line (pt 88 216)(pt 288 216))
(line (pt 88 56)(pt 88 216))
)
)
(block
(rect 1264 2344 1672 2904)
(text "interrupt_handler" (rect 5 5 101 18)(font "Arial" (font_size 8))) (text "i_interrupt_handler" (rect 5 546 99 557)(font "Arial" )) (block_io "MAIN_CLK" (input))