Skip to content

Commit

Permalink
Commit the board and set board.repoPaths to it in the tcl script
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaiah Becker-Mayer committed Jun 26, 2024
1 parent a520388 commit 82aafca
Show file tree
Hide file tree
Showing 7 changed files with 1,322 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ __pycache__
**.DS_Store**
**.dSYM**
*.hack
Nand2TetrisVivado/*
venv/*
nand2tetris/*
3 changes: 3 additions & 0 deletions Nand2TetrisVivado.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ set proj_dir [get_property directory [current_project]]
# Reconstruct message rules
# None

# Set the board repository path
set_param board.repoPaths $origin_dir/Nand2TetrisVivado/boards/Digilent/basys3/1.2/

# Set project properties
set obj [current_project]
set_property -name "board_part" -value "digilentinc.com:basys3:part0:1.2" -objects $obj
Expand Down
4 changes: 4 additions & 0 deletions Nand2TetrisVivado/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*
!.gitignore
!boards/
!boards/**
827 changes: 827 additions & 0 deletions Nand2TetrisVivado/boards/Digilent/basys3/1.2/board.xml

Large diffs are not rendered by default.

117 changes: 117 additions & 0 deletions Nand2TetrisVivado/boards/Digilent/basys3/1.2/part0_pins.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
MIT License
Copyright (c) 2021 Digilent, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-->
<part_info part_name="xc7a35tcpg236-1">
<pins>
<pin index="0" name ="clk" iostandard="LVCMOS33" loc="W5"/>
<pin index="1" name ="dip_switches_16bits_tri_i_0" iostandard="LVCMOS33" loc="V17"/>
<pin index="2" name ="dip_switches_16bits_tri_i_1" iostandard="LVCMOS33" loc="V16"/>
<pin index="3" name ="dip_switches_16bits_tri_i_2" iostandard="LVCMOS33" loc="W16"/>
<pin index="4" name ="dip_switches_16bits_tri_i_3" iostandard="LVCMOS33" loc="W17"/>
<pin index="5" name ="dip_switches_16bits_tri_i_4" iostandard="LVCMOS33" loc="W15"/>
<pin index="6" name ="dip_switches_16bits_tri_i_5" iostandard="LVCMOS33" loc="V15"/>
<pin index="7" name ="dip_switches_16bits_tri_i_6" iostandard="LVCMOS33" loc="W14"/>
<pin index="8" name ="dip_switches_16bits_tri_i_7" iostandard="LVCMOS33" loc="W13"/>
<pin index="9" name ="dip_switches_16bits_tri_i_8" iostandard="LVCMOS33" loc="V2"/>
<pin index="10" name ="dip_switches_16bits_tri_i_9" iostandard="LVCMOS33" loc="T3"/>
<pin index="11" name ="dip_switches_16bits_tri_i_10" iostandard="LVCMOS33" loc="T2"/>
<pin index="12" name ="dip_switches_16bits_tri_i_11" iostandard="LVCMOS33" loc="R3"/>
<pin index="13" name ="dip_switches_16bits_tri_i_12" iostandard="LVCMOS33" loc="W2"/>
<pin index="14" name ="dip_switches_16bits_tri_i_13" iostandard="LVCMOS33" loc="U1"/>
<pin index="15" name ="dip_switches_16bits_tri_i_14" iostandard="LVCMOS33" loc="T1"/>
<pin index="16" name ="dip_switches_16bits_tri_i_15" iostandard="LVCMOS33" loc="R2"/>
<pin index="17" name ="led_16bits_tri_o_0" iostandard="LVCMOS33" loc="U16"/>
<pin index="18" name ="led_16bits_tri_o_1" iostandard="LVCMOS33" loc="E19"/>
<pin index="19" name ="led_16bits_tri_o_2" iostandard="LVCMOS33" loc="U19"/>
<pin index="20" name ="led_16bits_tri_o_3" iostandard="LVCMOS33" loc="V19"/>
<pin index="21" name ="led_16bits_tri_o_4" iostandard="LVCMOS33" loc="W18"/>
<pin index="22" name ="led_16bits_tri_o_5" iostandard="LVCMOS33" loc="U15"/>
<pin index="23" name ="led_16bits_tri_o_6" iostandard="LVCMOS33" loc="U14"/>
<pin index="24" name ="led_16bits_tri_o_7" iostandard="LVCMOS33" loc="V14"/>
<pin index="25" name ="led_16bits_tri_o_8" iostandard="LVCMOS33" loc="V13"/>
<pin index="26" name ="led_16bits_tri_o_9" iostandard="LVCMOS33" loc="V3"/>
<pin index="27" name ="led_16bits_tri_o_10" iostandard="LVCMOS33" loc="W3"/>
<pin index="28" name ="led_16bits_tri_o_11" iostandard="LVCMOS33" loc="U3"/>
<pin index="29" name ="led_16bits_tri_o_12" iostandard="LVCMOS33" loc="P3"/>
<pin index="30" name ="led_16bits_tri_o_13" iostandard="LVCMOS33" loc="N3"/>
<pin index="31" name ="led_16bits_tri_o_14" iostandard="LVCMOS33" loc="P1"/>
<pin index="32" name ="led_16bits_tri_o_15" iostandard="LVCMOS33" loc="L1"/>
<pin index="33" name ="push_buttons_5bits_tri_i_0" iostandard="LVCMOS33" loc="T18"/>
<pin index="34" name ="push_buttons_5bits_tri_i_1" iostandard="LVCMOS33" loc="W19"/>
<pin index="35" name ="push_buttons_5bits_tri_i_2" iostandard="LVCMOS33" loc="T17"/>
<pin index="36" name ="push_buttons_5bits_tri_i_3" iostandard="LVCMOS33" loc="U17"/>
<pin index="37" name ="qspi_csn_i" iostandard="LVCMOS33" loc="K19"/>
<pin index="38" name ="qspi_db0_i" iostandard="LVCMOS33" loc="D18"/>
<pin index="39" name ="qspi_db1_i" iostandard="LVCMOS33" loc="D19"/>
<pin index="40" name ="qspi_db2_i" iostandard="LVCMOS33" loc="G18"/>
<pin index="41" name ="qspi_db3_i" iostandard="LVCMOS33" loc="F18"/>
<pin index="42" name ="reset" iostandard="LVCMOS33" loc="U18"/>
<pin index="43" name ="seven_seg_led_an_tri_o_0" iostandard="LVCMOS33" loc="U2"/>
<pin index="44" name ="seven_seg_led_an_tri_o_1" iostandard="LVCMOS33" loc="U4"/>
<pin index="45" name ="seven_seg_led_an_tri_o_2" iostandard="LVCMOS33" loc="V4"/>
<pin index="46" name ="seven_seg_led_an_tri_o_3" iostandard="LVCMOS33" loc="W4"/>
<pin index="47" name ="seven_seg_led_disp_tri_o_0" iostandard="LVCMOS33" loc="W7"/>
<pin index="48" name ="seven_seg_led_disp_tri_o_1" iostandard="LVCMOS33" loc="W6"/>
<pin index="49" name ="seven_seg_led_disp_tri_o_2" iostandard="LVCMOS33" loc="U8"/>
<pin index="50" name ="seven_seg_led_disp_tri_o_3" iostandard="LVCMOS33" loc="V8"/>
<pin index="51" name ="seven_seg_led_disp_tri_o_4" iostandard="LVCMOS33" loc="U5"/>
<pin index="52" name ="seven_seg_led_disp_tri_o_5" iostandard="LVCMOS33" loc="V5"/>
<pin index="53" name ="seven_seg_led_disp_tri_o_6" iostandard="LVCMOS33" loc="U7"/>
<pin index="54" name ="seven_seg_led_disp_tri_o_7" iostandard="LVCMOS33" loc="V7"/>
<pin index="55" name ="usb_uart_rxd" iostandard="LVCMOS33" loc="B18"/>
<pin index="56" name ="usb_uart_txd" iostandard="LVCMOS33" loc="A18"/>
<pin index="57" name ="JA1" iostandard="LVCMOS33" loc="J1"/>
<pin index="58" name ="JA2" iostandard="LVCMOS33" loc="L2"/>
<pin index="59" name ="JA3" iostandard="LVCMOS33" loc="J2"/>
<pin index="60" name ="JA4" iostandard="LVCMOS33" loc="G2"/>
<pin index="61" name ="JA7" iostandard="LVCMOS33" loc="H1"/>
<pin index="62" name ="JA8" iostandard="LVCMOS33" loc="K2"/>
<pin index="63" name ="JA9" iostandard="LVCMOS33" loc="H2"/>
<pin index="64" name ="JA10" iostandard="LVCMOS33" loc="G3"/>
<pin index="65" name ="JB1" iostandard="LVCMOS33" loc="A14"/>
<pin index="66" name ="JB2" iostandard="LVCMOS33" loc="A16"/>
<pin index="67" name ="JB3" iostandard="LVCMOS33" loc="B15"/>
<pin index="68" name ="JB4" iostandard="LVCMOS33" loc="B16"/>
<pin index="69" name ="JB7" iostandard="LVCMOS33" loc="A15"/>
<pin index="70" name ="JB8" iostandard="LVCMOS33" loc="A17"/>
<pin index="71" name ="JB9" iostandard="LVCMOS33" loc="C15"/>
<pin index="72" name ="JB10" iostandard="LVCMOS33" loc="C16"/>
<pin index="73" name ="JC1" iostandard="LVCMOS33" loc="K17"/>
<pin index="74" name ="JC2" iostandard="LVCMOS33" loc="M18"/>
<pin index="75" name ="JC3" iostandard="LVCMOS33" loc="N17"/>
<pin index="76" name ="JC4" iostandard="LVCMOS33" loc="P18"/>
<pin index="77" name ="JC7" iostandard="LVCMOS33" loc="L17"/>
<pin index="78" name ="JC8" iostandard="LVCMOS33" loc="M19"/>
<pin index="79" name ="JC9" iostandard="LVCMOS33" loc="P17"/>
<pin index="80" name ="JC10" iostandard="LVCMOS33" loc="R18"/>
<pin index="81" name ="JXADC1" iostandard="LVCMOS33" loc="J3"/>
<pin index="82" name ="JXADC2" iostandard="LVCMOS33" loc="L3"/>
<pin index="83" name ="JXADC3" iostandard="LVCMOS33" loc="M2"/>
<pin index="84" name ="JXADC4" iostandard="LVCMOS33" loc="N2"/>
<pin index="85" name ="JXADC7" iostandard="LVCMOS33" loc="K3"/>
<pin index="86" name ="JXADC8" iostandard="LVCMOS33" loc="M3"/>
<pin index="87" name ="JXADC9" iostandard="LVCMOS33" loc="M1"/>
<pin index="88" name ="JXADC10" iostandard="LVCMOS33" loc="N1"/>
</pins>
</part_info>
Loading

0 comments on commit 82aafca

Please sign in to comment.