Update pin constraint file
This commit is contained in:
parent
3c0263fc05
commit
c43955f8e8
2
build.sh
2
build.sh
|
@ -69,7 +69,7 @@ if [ -z "$COMMAND" ]; then
|
||||||
mkdir -p $BUILD_DIR/sap3
|
mkdir -p $BUILD_DIR/sap3
|
||||||
pushd $BUILD_DIR/sap3 > /dev/null
|
pushd $BUILD_DIR/sap3 > /dev/null
|
||||||
|
|
||||||
$BIN_DIR/yosys -p "synth_ice40 -json hardware.json" $SAP3_MODULES $SAP3_TOP
|
$BIN_DIR/yosys -q -p "synth_ice40 -json hardware.json" $SAP3_MODULES $SAP3_TOP
|
||||||
$BIN_DIR/nextpnr-ice40 --lp8k --package cm81 --json hardware.json --asc hardware.asc --pcf $SRC_DIR/pins.pcf -q
|
$BIN_DIR/nextpnr-ice40 --lp8k --package cm81 --json hardware.json --asc hardware.asc --pcf $SRC_DIR/pins.pcf -q
|
||||||
$BIN_DIR/icepack hardware.asc hardware.bin
|
$BIN_DIR/icepack hardware.asc hardware.bin
|
||||||
|
|
||||||
|
|
11
src/pins.pcf
11
src/pins.pcf
|
@ -1,2 +1,11 @@
|
||||||
set_io --warn-no-port CLK B2 # input
|
set_io --warn-no-port CLK B2 # input
|
||||||
|
set_io --warn-no-port PIN_24 A6 # input
|
||||||
|
set_io --warn-no-port PIN_4 C2 # output
|
||||||
|
set_io --warn-no-port PIN_5 C1 # output
|
||||||
|
set_io --warn-no-port PIN_6 D2 # output
|
||||||
|
set_io --warn-no-port PIN_7 D1 # output
|
||||||
|
set_io --warn-no-port PIN_8 E2 # output
|
||||||
|
set_io --warn-no-port PIN_9 E1 # output
|
||||||
|
set_io --warn-no-port PIN_10 G2 # output
|
||||||
|
set_io --warn-no-port PIN_11 H1 # output
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ always @(posedge clk, posedge rst) begin
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
reg[18:0] bus;
|
reg[15:0] bus;
|
||||||
|
|
||||||
always @(*) begin
|
always @(*) begin
|
||||||
bus = 16'b0;
|
bus = 16'b0;
|
||||||
|
|
Loading…
Reference in New Issue