Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

clarification regarding writing testbench

Hello,

I am writing a test bench for a ethernet packet generator module. I drive the input ports of my DUT using registers and declared the output as wire. I need some clarification on what signal type is to be used for the internal registers (ex in my case Ethernet configuration registers) in my testbench.

thanks,

manihatn

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    By "internal registers", you mean signals with the TB, not the DUT, correct?

    Probably, you'll want to use mostly always blocks -- thus, registers.