Commit a91b4540 authored by Alan Wood's avatar Alan Wood

Added Pmod enumerations to the pcf file

parent 7be61b16
No preview for this file type
......@@ -2,7 +2,7 @@
.model LED_top
.inputs clk
.outputs LED[0] LED[1] LED[2] LED[3]
.outputs PMOD[0] PMOD[1] PMOD[2] PMOD[3] PMOD[4] PMOD[5] PMOD[6] PMOD[7] PMOD[8] PMOD[9] PMOD[10] PMOD[11] PMOD[12] PMOD[13] PMOD[14] PMOD[15] PMOD[16] PMOD[17] PMOD[18] PMOD[19] PMOD[20] PMOD[21] PMOD[22] PMOD[23] PMOD[24] PMOD[25] PMOD[26] PMOD[27] PMOD[28] PMOD[29] PMOD[30] PMOD[31] PMOD[32] PMOD[33] PMOD[34] PMOD[35] PMOD[36] PMOD[37] PMOD[38] PMOD[39] PMOD[40] PMOD[41] PMOD[42] PMOD[43] PMOD[44] PMOD[45] PMOD[46] PMOD[47] PMOD[48] PMOD[49] PMOD[50] PMOD[51] PMOD[52] PMOD[53] PMOD[54] PMOD[55]
.names $false
.names $true
1
......@@ -129,62 +129,166 @@
.gate SB_CARRY CI=$auto$alumacc.cc:470:replace_alu$8.C[9] CO=$auto$alumacc.cc:470:replace_alu$8.C[10] I0=$false I1=awesome_blinker.counter_q[9]
.attr src "/usr/local/bin/../share/yosys/ice40/arith_map.v:47"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[0] Q=awesome_blinker.counter_q[0]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[1] Q=awesome_blinker.counter_q[1]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[2] Q=awesome_blinker.counter_q[2]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[3] Q=awesome_blinker.counter_q[3]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[4] Q=awesome_blinker.counter_q[4]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[5] Q=awesome_blinker.counter_q[5]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[6] Q=awesome_blinker.counter_q[6]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[7] Q=awesome_blinker.counter_q[7]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[8] Q=awesome_blinker.counter_q[8]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[9] Q=awesome_blinker.counter_q[9]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[10] Q=awesome_blinker.counter_q[10]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[11] Q=awesome_blinker.counter_q[11]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[12] Q=awesome_blinker.counter_q[12]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[13] Q=awesome_blinker.counter_q[13]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[14] Q=awesome_blinker.counter_q[14]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[15] Q=awesome_blinker.counter_q[15]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[16] Q=awesome_blinker.counter_q[16]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[17] Q=awesome_blinker.counter_q[17]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[18] Q=awesome_blinker.counter_q[18]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[19] Q=awesome_blinker.counter_q[19]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[20] Q=awesome_blinker.counter_q[20]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[21] Q=awesome_blinker.counter_q[21]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[22] Q=awesome_blinker.counter_q[22]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[23] Q=awesome_blinker.counter_q[23]
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.gate SB_DFF C=clk D=awesome_blinker.counter_d[24] Q=awesome_blinker.blink
.attr src "blinker.v:16|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.names awesome_blinker.blink LED[0]
.attr src "blinker.v:26|/usr/local/bin/../share/yosys/ice40/cells_map.v:2"
.names $undef PMOD[0]
1 1
.names $true LED[1]
.names $undef PMOD[1]
1 1
.names $true LED[2]
.names $undef PMOD[2]
1 1
.names $true LED[3]
.names $undef PMOD[3]
1 1
.names $undef PMOD[4]
1 1
.names $undef PMOD[5]
1 1
.names $undef PMOD[6]
1 1
.names $undef PMOD[7]
1 1
.names $undef PMOD[8]
1 1
.names $undef PMOD[9]
1 1
.names $undef PMOD[10]
1 1
.names $undef PMOD[11]
1 1
.names $undef PMOD[12]
1 1
.names $undef PMOD[13]
1 1
.names $undef PMOD[14]
1 1
.names $undef PMOD[15]
1 1
.names $undef PMOD[16]
1 1
.names $undef PMOD[17]
1 1
.names $undef PMOD[18]
1 1
.names $undef PMOD[19]
1 1
.names $undef PMOD[20]
1 1
.names $undef PMOD[21]
1 1
.names $undef PMOD[22]
1 1
.names $undef PMOD[23]
1 1
.names $undef PMOD[24]
1 1
.names $undef PMOD[25]
1 1
.names $undef PMOD[26]
1 1
.names $undef PMOD[27]
1 1
.names $undef PMOD[28]
1 1
.names $undef PMOD[29]
1 1
.names $undef PMOD[30]
1 1
.names $undef PMOD[31]
1 1
.names $undef PMOD[32]
1 1
.names $undef PMOD[33]
1 1
.names $undef PMOD[34]
1 1
.names $undef PMOD[35]
1 1
.names $undef PMOD[36]
1 1
.names $undef PMOD[37]
1 1
.names $undef PMOD[38]
1 1
.names $undef PMOD[39]
1 1
.names $undef PMOD[40]
1 1
.names $undef PMOD[41]
1 1
.names $undef PMOD[42]
1 1
.names $undef PMOD[43]
1 1
.names $undef PMOD[44]
1 1
.names $undef PMOD[45]
1 1
.names $undef PMOD[46]
1 1
.names $undef PMOD[47]
1 1
.names $true PMOD[48]
1 1
.names $true PMOD[49]
1 1
.names $true PMOD[50]
1 1
.names awesome_blinker.blink PMOD[51]
1 1
.names $undef PMOD[52]
1 1
.names $undef PMOD[53]
1 1
.names $undef PMOD[54]
1 1
.names $undef PMOD[55]
1 1
.names clk awesome_blinker.clk
1 1
......
This diff is collapsed.
......@@ -19,7 +19,7 @@ module LED_top(
// Input from buttons (active low)
// input [3:0]sw_n,
// Outputs to the 8 onboard LEDs
output[3:0]LED,
output[55:0]PMOD,
);
wire rst = 1'b0;//~sw_n[3]; // make reset active high
......@@ -29,14 +29,14 @@ wire rst = 1'b0;//~sw_n[3]; // make reset active high
//assign sw2 = 1'bz;
//assign sw3 = 1'bz;
assign LED[3:1] = 3'b111;
assign PMOD[50:48] = 3'b111;
blinker awesome_blinker (
.clk(clk),
.rst(rst),
.blink(LED[0])
.blink(PMOD[51])
);
endmodule
......@@ -13,7 +13,7 @@
* *
******************************************************************************/
module blinker( inputclk, input rst, output blink );
module blinker(input clk, input rst, output blink);
reg [24:0] counter_d, counter_q;
......
......@@ -16,10 +16,88 @@
# User Constraint File for myStorm
#myStorm leds
set_io LED[0] 37
set_io LED[1] 38
set_io LED[2] 39
set_io LED[3] 41
#set_io LED[0] 37
#set_io LED[1] 38
#set_io LED[2] 39
#set_io LED[3] 41
#pmod 1
set_io PMOD[4] 101
set_io PMOD[5] 102
set_io PMOD[6] 104
set_io PMOD[7] 105
#pmod 2
set_io PMOD[8] 98
set_io PMOD[9] 99
set_io PMOD[10] 97
set_io PMOD[11] 96
#pmod 3
set_io PMOD[12] 106
set_io PMOD[13] 107
set_io PMOD[14] 110
set_io PMOD[15] 112
#pmod 4
set_io PMOD[16] 113
set_io PMOD[17] 114
set_io PMOD[18] 143
set_io PMOD[19] 144
#pmod 5
set_io PMOD[20] 10
set_io PMOD[21] 9
set_io PMOD[22] 2
set_io PMOD[23] 1
#pmod 6
set_io PMOD[24] 8
set_io PMOD[25] 7
set_io PMOD[26] 4
set_io PMOD[27] 3
#pmod 7
set_io PMOD[28] 20
set_io PMOD[29] 19
set_io PMOD[30] 16
set_io PMOD[31] 15
#pmod 8
set_io PMOD[32] 18
set_io PMOD[33] 17
set_io PMOD[34] 12
set_io PMOD[35] 11
#pmod 9
set_io PMOD[36] 34
set_io PMOD[37] 33
set_io PMOD[38] 22
set_io PMOD[39] 21
#pmod 10
set_io PMOD[40] 32
set_io PMOD[41] 31
set_io PMOD[42] 26
set_io PMOD[43] 25
#pmod 11
set_io PMOD[44] 23
set_io PMOD[45] 24
set_io PMOD[46] 28
set_io PMOD[47] 29
#pmod 12
set_io PMOD[48] 37
set_io PMOD[49] 38
set_io PMOD[50] 39
set_io PMOD[51] 41
#pmod 13
set_io PMOD[52] 80
set_io PMOD[53] 79
set_io PMOD[54] 64
set_io PMOD[55] 63
# Onboard LEDs
#set_io LED[0] B5
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment