Search this site
Embedded Files
Skip to main content
Skip to navigation
Digital System Design
Home
Labs
Lab 1
Lab 2
Lab 3
Lab 4
Lab 5
Lab 6
Adder
Snake
Digital System Design
Home
Labs
Lab 1
Lab 2
Lab 3
Lab 4
Lab 5
Lab 6
Adder
Snake
More
Home
Labs
Lab 1
Lab 2
Lab 3
Lab 4
Lab 5
Lab 6
Adder
Snake
Lab 2
Laboratory 2 - Four Digit Hex Counter
Github Files
Part 1 - Implementing the Counter
Open the hexcounter.xpr project from Lab 1 and make a copy called hex4counter.
Replace the counter.vhd and hexcount.vhd source code with the one located on the Github page.
Run the Generate Bitstream (it will also run Synthesis and Implemented Design if out-of-date)
Open the Hardware Manager and connect the Nexys 4 DDR board.
Program the device with the hexcount.bit file
Part 2 - Storing Configuration Code in the Platform Flash
Go to Tools>Generate Memory Configuration File
Select the Memory Part Radio button and click the ellipses.
Select "s25fl128sxxxxxx0-spi-x1_x2_x4" from the list and hit OK.
Check the Load bitstream files checkbox and click the ellipses.
Select the hexcount.bit file generated in part 1 and hit OK
Hit OK to create the file.
Right click the hardware target and select Add Configuration Memory Device.
Choose the same option in Step 3.
The message box "Do you want to program the configuration memory device now?" is displayed. Click OK.
Click the ellipses for the Configuration File and navigate to the hexcount.mcs file created in Step 6 and click OK.
The message box "Flash programming completely successfully" is displayed. Click OK.
Right click the hardware target and select 'Boot from Configuration Memory Device.
Google Sites
Report abuse
Google Sites
Report abuse