if Clock 50MHz, what is the maximum ns in after X ns can be used is appropriate for behavior vhdl ?
for example http://www.people.vcu.edu/~rhklenke/tutorials/vhdl/modules/m12_23/sld006.htm連結已複製
None. After is not synthesisable, it is for behavioural modelling in simulation only. It is ignored for synthesis.
Why do you want a delay anyway? if you're trying to delay a signal to get something to work, the design is fundamentally wrong.But you know how long it will take - 1 clock cycle (though that seems rather short for "an algorithm"). So why do you need a delay? delays need to be in numbers of clocks, not fixed time delays. Digital circuits do not work like that.
because data are continously receive like a flow or stream and then algorithm and send. sending ethernet frame occupy many cycles, i wish to make algorithm involve in it. actually i do not know how many average cycles of an algorithm occupy in FPGA chip,
if can not do algorithm within cycles of sending ethernet header before send a payload, there is only one choice that do it sequentially which is to finish algorithm first then send ethernet frame is the clock cycle in ethernet frame 1/(50 * 10^6) = 0.00000002 = 20 ns ? if sending ethernet frame using 8 * 20ns, can an algorithm run within 8 * 20 ns?Timings on ethernet do not matter - you just get a chunk of data. Your algorthm takes N clock to complete (N is probbably going to be a fixed length) and then you send the data back to the host.
