सभी किताबें

पेशेवर

ऐप्स परिचय Coach लॉग इन पढ़ना शुरू करें

Quantitative Finance · शब्दावली

Testbench, cycle-accurate model क्या है?

अन्य नाम: testbench · cycle-accurate model

Definition 6.9 Networks, Hardware and Trading Infrastructure · अध्याय 6 — Programmable Hardware I: Architecture and Toolchain

A testbench is the code that drives a design’s inputs in simulation and checks its outputs. A cycle-accurate model is a software model of a design that reproduces its outputs cycle by cycle, used as a reference against which the hardware is checked, and as a fast stand-in for it.

CycleInput acceptedOutputs registered at the end of the cycle
0beat 0: bytes 10–17—
1beat 1: bytes 18–1f, last—
2—field 16171819; CRC-32 f4a7fd67
3—comparison (one stage): at most the threshold
4—comparison (two stages): at most the threshold
Table 6.1. The first frame through hdk_top in Verilator, no back-pressure: a 16-byte frame of bytes 10 to 1f, the field at bytes 6 to 9, the threshold equal to the field. The skid buffer registers each accepted beat; the field and the CRC are registered the cycle after the beat that completes them. Icarus prints the same cycles. Data: nw_fpga.first_frame.
The toolchain. The design is simulated against its golden model before synthesis; synthesis, placement and routing produce a design whose timing is analysed; a path that does not meet the clock sends the designer back to the RTL.
Figure 6.3. The toolchain. The design is simulated against its golden model before synthesis; synthesis, placement and routing produce a design whose timing is analysed; a path that does not meet the clock sends the designer back to the RTL.
अध्याय में पढ़ें →