Search Engine

Design Counter

Add Question

411 Threads found on Design Counter
Therefore, I don't need basically to write it in the Verilog. It is juts an abstract idea for understanding the counter and the sum itself? In other words, the pseucode represent the whole looping of the design. ? I'm assuming that you got the pseudo code as part of your assignment and you are supposed to write Ve
No, there's no counter involved in SRAM design, just row and column address decoder. Where did you get the idea?
Hi, I am trying to debug my ALU design in FPGA. I am using trigger immediate option after downloading the bit stream to FPGA. But the chipscope never displays the signal values starting from program counter=0 and the waveform starts from some other value of program counter. How to resolve this issue, I need to capture rea
Not exactly sure of the educational benefit of this kind of design except to point out how bad it glitches when you do asynchronous stuff like this. The problem with the current version of your design is the RST pin of the middle FF is connected to the other two FFs and the output of the NAND. The only connection to the RST pin of the middle FF sh
Hello Group, I have a design created in Hspice. I want to verify this hspice netlist against some input stimuli. Is there a tool that I can use for this? For example, Suppose I designed a 4 bit counter using T FFs. Is it possible to verify if the counter is functionally working correct using some tool given the (...)
There are 2 ways to design synchronous FIFO that I know: 1. Using n+1 bit counters for write pointer and read pointer. In this case, since it is 8 location FIFO, you can use 3+1 = 4 bit counter. To detect full and empty is simple: FULL: WP-RP = 4'b1000 EMPTY: WP-RP=4'b0000 We cannot decide full and empty conditions based on MSB. This (...)
FPGA synthesis tools have timing analysis to check if a design is able to run at the intended clock frequency and usually also implement timing driven synthesis to tune the design for maximum speed if required. So the first step would be to write suitable timing constraints and determine the achievable counter speed. Not knowing the used (...)
There are special design methodologies for sequential asynchronous circuits. Following these methods, it can be possible. You only mentioned a bare idea instead of giving a logic circuit. Thus we can't see how your design fails.
Hi I am trying to synthesize a counter which has 16 instances only.while doing cts it is giving high utilization more than 100% so it is aborting. I have started the design with 20% util because it gave problem with 40% util.please some one say me the fix.
Hello Dave, please find my code below: //counter design //D FLIPFLOP module dff(clk,reset,din,dout); input clk,reset,din; output dout; logic dout; always@(posedge clk,negedge reset) if(!reset) dout <= 0; else dout <= din; endmodule //counter module ones_counter(clk,reset,data,count); input clk,reset,data; output (...)
Hello! :-) I am a just-graduated engineer and right now I am doing an internship in Japan. My task is to develop a SMPTE time code decoder on a FPGA ALTERA DE0 TERASIC and display the time-code on the 7-segment displays. I have attended two courses at the university about digital design, but up to now I have no practical experience and unfortunat
Your question doesn't make sense and also it is in the wrong community! No wonder till now there were no replies. How can you write a TB for just ANY example netlist? If you don't know the functionality of the netlist you cannot write a TB. Create a simple design (say a 3 bit counter) and generate its netlist. Then write the TB for it (in fact eve
You should be able to get the details from a processor design manual/spec. At a very high level, instruction cache is the cache memory which stores the instructions that will be executed sequentially in a processor. The program counter will point to the memory address of the instruction that needs to be fetched, the I-cache controller looks up the
Your tff component doesn't work, because input t isn't used in the logic. And it won't compile in your design because it has an unconnected reset input without default value.
The code in post #1 isn't related to UART, just sending 8-bit words. It's neither implementing a 32-bit counter. Apparently you copied a third parties code that is loosely related to the thread topic, but doesn't actually help to solve it. Writing a programmable logic design starts with a specification: - input and output signals - expected
This is probably a timing issue from poor design practice. Generating a clock with logic can be prone to timing issues. I would move the counter in to the clock domain and your problems may go away
Although variable usage for tx_reg and counter reduces the achievable design speed (creates large combinational pathes), the design looks functional. How did you stimulate tx_data_bus in your hardware test?
Hi, I am using vivado 2015.2.1 . I designed up-down counter. I am getting error. (mentioned below) Find my code below: module counter(reset,clk,uphdnl,count,sseg,an); input wire reset,clk, uphdnl,count; //output reg out0,out1; output reg sseg; output reg an; reg out0_temp,out1_temp; reg
Tricky question because if you use some conceptual design as shown it is not real design, then all you can use are block diagrams. Then you must dream up your own logic symbols using standard shapes and text. Not very good for detail oriented Engineers but perhaps ok for your purposes. For example the Johnson counter you have (...)
Hi, This is my first post on this forum, so bear with me! First some background: I'm currently studying Electrical and Electronic Engineering and I've been tasked by my company to design a prototype PCIe card for testing PCIe connection functionality on our products. This is part of my final project for the course, which has to be work-based