diff options
author | Andrew J Meyer <ajm@leaflabs.com> | 2013-03-06 18:45:25 -0500 |
---|---|---|
committer | Andrew J Meyer <ajm@leaflabs.com> | 2013-03-06 18:45:25 -0500 |
commit | 25e9b58c4a438292e9d07151c0f2ce73d1ed64f8 (patch) | |
tree | 4d1da0943507afb49bf9cd9d888888493f45290f | |
download | basic-hdl-template-25e9b58c4a438292e9d07151c0f2ce73d1ed64f8.tar.gz basic-hdl-template-25e9b58c4a438292e9d07151c0f2ce73d1ed64f8.zip |
Initial checkin and readme
-rw-r--r-- | README | 34 |
1 files changed, 34 insertions, 0 deletions
@@ -0,0 +1,34 @@ +A very basic project template for Verilog simulation and synthesis using Isim +and Xilinx tools. Adapted from an actual project, so there is likely a bit of +unecessary flags and switches on certain commands. I have done my best to remove +everything a can where things will still build. + +Build a bitstream (to upload to an FPGA, preconfigured as Spartan 6 chip in one +of the conf files) via: + +.synth_project/make.sh + +the toplevel ucf (constraints mapping netlist objects from the verilog +compilation to hardware resources, and place and routing and timing constraints) +is: +./synth_project/project.ucf + +the toplevel verilog module, which does nothing (just sets some pins to zero) +lives in: +./hdl/project.v + + +Simulate with isim via: + +./testbench/fuse.sh +./testbench/simulate_isim -gui + + +In isim, you can open the "signals.wcfg" in the file menu to reload a the logic +analyzer configuration. This cfg file will not be valid if you delete any +signals from your design that are saves in the wcfg. + +./testbench/tb.v is the toplevel testbench file for simulation. + + +Please improve and push!
\ No newline at end of file |