3 ms·
How else are you supposed to get I/O... I believe the answer in this case is you latch the signal, and use a local copy. Sort of like how it is good practice t
by sliverstorm 13y ago
How else are you supposed to get I/O...
I believe the answer in this case is you latch the signal, and use a local copy. Sort of like how it is good practice to use local variables when coding.
what's the definition of high speed
Last I heard, 100MHz+
- derleth 13y ago> I believe the answer in this case is you latch the signal, and use a local copy. So the latch is local to both, and therefore not using a signal from another module?
- sliverstorm 13y agoThe latch would be local to the module. The latch captures the input, and reproduces it inside the module. Think like this: sub proc { my $latch = @_[0]; } We capture the input signal in $latch for local use in the proc
- tcas 13y agoSo, essentially feeding it into something like BUF? I thought those were optimized out on modern FPGAs. I can see the sourcing issue when trying to fan out too much from a single module, but I don't see any issue doing a high speed interconnect between them as long as you're intelligent about where the modules are going to be placed in regards to chip I/O. i.e. don't have a high speed serdes unit on one bank try and directly talk to a bank on the other side of a chip.
- sliverstorm 13y agoI don't remember what a BUF represents in FPGA tools- the name implies an inverter pair, e.g. buffer, but I don't remember for sure. Anyway, I mean a sequential element, such as a latch or a flip-flop. (If you don't know what those are, please pay a quick visit to Wikipedia- they are fundamental) It is a placement/distance problem. Sometimes one module needs to talk to a module on the other side of the chip, and there's no two ways about it. In that case, when you clock it fast enough, you need to break the path across cycles. edit: It looks like BUF is indeed the Xilinx primitive for a buffer, so no. Definitely not what I meant. Half-cocked Example: module test ( a, clk ); input a; input clk; wire a; wire clk; reg flop; always @ (posedge clk) begin flop = a; end (... useful things ...) endmodule
- jnbiche 13y agoI'm curious: you're discussing FPGAs with someone who knows enough about them to know the Xilinx instruction set. Why would you think that he/she might not know what a flip-flop is?
- sliverstorm 13y agoBecause tcas thought when I said "latch" that I might meant "buf"
- rcfox 13y agoJust to clarify a bit: It takes time to go through combinational logic (AND and OR gates, etc.) and your clock has to go as slow as the slowest path to ensure that the signals are all correct at the same time. Registers are the start- and end-points of a combinational path, so placing a register in the critical path can increase your clock speed. However, that means that the data isn't available on the other side of the register until the next clock cycle.
- StringyBob 13y agoYes - Static Timing Analysis is used to work out worst likely timing (slowest/fastest delay) paths and check it runs at your target MHz For ASIC work there are a couple of tools used these days: http://www.cadence.com/products/mfg/tempus/pages/default.aspx http://www.cadence.com/products/mfg/tempus/pages/default.asp... http://www.synopsys.com/Tools/Implementation/SignOff/Pages/PrimeTime.aspx http://www.synopsys.com/Tools/Implementation/SignOff/Pages/P... Electronic Design Automation is a tough market to crack - for most startups the exit strategy is to be bought by one of the 2 (or 3) big players without being sued by them first!