It is an IP provided by Xilinx for debugging the circuits inside the FPGA Hardware.
It comes handy for debugging various pieces of information which cannot be seen just in simulation.
Binary Counter IP -This IP (Intellectual Property) is also Provided by Xilinx.- It could be used for generating various patterns of 1's and 0's in Up and Down Count Direction.
For Learning What is Binary Counter IP is Click hereLet's Get to Experimentation
- Start VIVADO and give a project name
- Click Next
- Go to Boards Section, Select your
FPGA
if you do not see your FPGA Board in this section then download the board files from Digilent for Xilinx FPGAs from here and for EDGE ARTIX-A7 from here
After Downloading extract those files in
F:\xilinx\Vivado\2019.2\data\boards\board_filesIn case you had installed VITIS and VIVADO it will be lying somewhere around here -:
E:\VITIS_2020.2\Vivado\2022.2\data\boards\board_files- Create Block Design from the
HighlightedSection
- Give a name of the Block Design then
Click-OK
GOtoWindowssection and Click onBoards
Youwould now be able to see the Board files section- Right Click System Clock and then Click on
Connect Board Component
By defaultleave it as only oneClockbeing used
- By Now you'd be able to see the clock wizard in Diagram Section
- Double Click on Clock Wizard IP in Block Design
- Now Go to output Clocks and here you can have any frequency for
clk_out1
which would be used for binary counter and ILA
- Now Click on
+in Block Diagram and SearchBinary Counter
ConfigureBinary Counter IP as the Following.
- Configuring Control Section
- Now Search for
ILAin block design by clicking on+ DoubleClick on ILA (Integrated Logic Analyzer)
Configurethe ILA as the following by double clicking.
- Go to Probe Section
- Now Right Click on Binary Counter's Pin
CEand make itexternal.
Rightclick on Clock WizardReset Pinand Make itExternal.
- Double Click on Clocking Wizard IP
and Untick the Locked Section
Connect All three IPs like the Following then click on Regenerate the Layout
NowValidate the Design for making sure there isn't any errors in Block Design connection.
- Go to
Sources, - At the very top section under
edit sectionclick on save section as highlighted in Following, it will save the Block Design - Then
right clickon the block Design project file insourcesand click on Generate the output products
SelectGlobal
RightClick on Project file and Select Create HDL Wrapper- Then Click on Let
Vivado manage wrapper and auto update
- Run
Synthesis
- Open
Synthesized Design FromLayout Section Click onI/O Planning
Youwould be able to see I/O Ports Section
- Check pin Voltage section for your FPGA Board, in Most Cases it should be
LVCMOS33
- I have Used one of the switches for CE pin on FPGA and Gave the pin location in Package pin section.
- Now
Save Constraintsas highlighted section
- Give an Appropriate name to
XDC file.
- Click ok
- Click on
Generate Bitstream
Youwould be able to see the implemented design schematic after clicking onOpen Implemented Design
OpenHardware manager then click on Program the board.- Make sure the CE pin was at active low at the time of Programming.
- then after programming you can
assert(Active-high)the CE pin.
I hope you learnt something Today :-)
Happy Learning :-)






Comments