??? 02/23/07 16:45 Modified: 02/23/07 17:04 Read: times |
#133568 - my comments on having a quick look Responding to: ???'s previous message |
it s certainly faster than a standard 8254.Looking at your code having chains of if..... else's in hardware terms at least causes the compiler to produce very deeply nested multiplexors so that can cause the whole design to be slow,also if... then ...else implies proirity.The standard solution in VHDL at any rate is to use case statements which don't imply any priority
case control_expression is when test_expression1 => statements when test_expression2 => statements when others => statements end case; although not being a verilog person i am not sure of the correct incantation in verilog. also as far as i understand it your always@ is using CS as a clock input but there is no sensitivity list and I have no way of knowing if the other inputs are syncronous with cs.I would be vary wary of using cs in that way and then having some conditional logic dependant of other signals which may or maynot be syncronous. |
Topic | Author | Date |
Simulation and Synthesis of verilog code | 01/01/70 00:00 | |
my comments on having a quick look | 01/01/70 00:00 | |
if..else... | 01/01/70 00:00 | |
Changes to verilog code | 01/01/70 00:00 | |
worst case?? | 01/01/70 00:00 | |
Logical "Z" state, data buses, and more | 01/01/70 00:00 | |
Not sure what happens in verilog but vhdl | 01/01/70 00:00 | |
Verilog vs VHDL types | 01/01/70 00:00 | |
But in the 8254 datasheet, | 01/01/70 00:00 | |
More on Verilog data buses | 01/01/70 00:00 | |
Thank you Lynn! | 01/01/70 00:00 | |
XILILNX is the problem! | 01/01/70 00:00 | |
Spartan II is just out of choices | 01/01/70 00:00 | |
There are good reasons for Spartan-II | 01/01/70 00:00 | |
Altera is doubly unhelpful | 01/01/70 00:00 | |
Where's the 805x? | 01/01/70 00:00 | |
well, he is fooling with a 8254 | 01/01/70 00:00 | |
"chat forum" | 01/01/70 00:00 | |
Well, OK ... | 01/01/70 00:00 | |
how was I to know that? | 01/01/70 00:00 | |
mentioned in an earlier thread Erik., | 01/01/70 00:00 |