
The FHDL Test-Driver Language is intended to simplify the testing of circuits specified using the Functional Hardware Design Language. The features described in this chapter are automatically provided when the fhdl command with the "-n" option is used. These features are not available otherwise. The Driver language can be used to specify the format of tests, and the manner in which tests are applied to the circuit. Feedback from the circuit under test can be used to control the testing process. Figure 1 illustrates the relationship between the driver created using the FHDL driver language, and the circuit under test.
Figure 1. The Relationship of the Driver and the CUT.
The Driver can be used to save time in generating test vectors, and can be used to compare expected results with the real results and report discrepancies.