I am having a problem with the binary counter v12.0 reset SCLR signal, when implementing the Xilinx University Programme, Lab9 Project 3.1, 2015x (1).
Environment:
OS: Linux (Arch Linux)
Xilinx Vivado 2018.3
Digilent Basys3 develoment board
Verilog HDL
Problem description:
The project works as expected (counts up to 5 minutes, 0,1 second resolution), the exception is the counter reset button (BTNC, U18) is pressed it only stops the counting, when released, the counter is not reset, instead it keeps counting where it stopped.
I am using the Vivado IP Catalog for generating the clock signal and the 4 binary counters(2) used on each 7-Segiment display digit. The Verilog code and constraint file are attached.
The binary counter configuration:
Implementing using: Fabric
Output width: 4 [3:0]
Increment Value (Hex): 1
Restrict Count (Hex): 4, 5, 9, 9 (7seg from left ro right)
Count Mode: UP
Clock Enable (CE): Checked
Synchronous Clear(SCLR): Checked
Init Value:(Hex): 0
Synchronous Controls and Clock Enable(CE) Priority: Sync Overrides CE
Latency Configuration: Manual, 1
Feedback Latency Configuration: Manual, 0
I suspect I am overseeing/forgetting somewhere a simple detail. Any help/clarification is appreciated.
Question
rnp
Hello everybody,
I am having a problem with the binary counter v12.0 reset SCLR signal, when implementing the Xilinx University Programme, Lab9 Project 3.1, 2015x (1).
Environment:
Problem description:
The project works as expected (counts up to 5 minutes, 0,1 second resolution), the exception is the counter reset button (BTNC, U18) is pressed it only stops the counting, when released, the counter is not reset, instead it keeps counting where it stopped.
I am using the Vivado IP Catalog for generating the clock signal and the 4 binary counters(2) used on each 7-Segiment display digit. The Verilog code and constraint file are attached.
The binary counter configuration:
I suspect I am overseeing/forgetting somewhere a simple detail. Any help/clarification is appreciated.
Cheers,
Rafael.
(1) https://www.xilinx.com/support/documentation/university/Vivado-Teaching/HDL-Design/2015x/Verilog/docs-pdf/lab9.pdf
(2) https://www.xilinx.com/support/documentation/ip_documentation/counter_binary/v12_0/pg121-c-counter-binary.pdf
lab9_3_1.v Basys-3-Master.xdc
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.