12.07.2015 Views

Simulator Configuration Guide for Synopsys Models

Simulator Configuration Guide for Synopsys Models

Simulator Configuration Guide for Synopsys Models

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 9: Using VERA with <strong>Synopsys</strong> <strong>Models</strong><strong>Simulator</strong> <strong>Configuration</strong> <strong>Guide</strong>VERA Testbench Paired with Top-level VHDL Testbench1. Top-level VHDL Testbench Exampleentity top if end top;architecture test of top is...U1 : am29f002bb_mx--For DesignWare Memory <strong>Models</strong>, set ID of U1generic map (ModelId => “5”)port map (a => adq => dqwe_n => we_noe_n => oe_nreset_n => reset_n);2. VERA Testbench Exampleprogram model_test {MemPro inst1;}inst1 = new(5); // inst1 corresponds to U1 in VHDL codeif (inst1.showStatus()!= SLM_TESTBENCH_SUCCESS){}//Error handling234 <strong>Synopsys</strong>, Inc. October 6, 2003

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!