Download Design Creation Tutorial for a Prototyping System
Transcript
Virtio Innovator - Design Creation Tutorial Data_generator (Figure 14). For details, see Uar_Design_Example\uar_step3 in the tutorial directory. Version 4 Data Transfer in BITs (version 4) The version 3 used a data-type abstraction of transmitting data in units of a BYTE. For real-life devices, BITs of data is transmitted over an established serial link. We will perform another data type refinement by sending and receiving frame data in units of a BIT. We have defined BIT as a user-defined data type in user.h. We choose to use a scheme very similar to Figure 12 to model transmission of BITs over the serial link. The scheme is shown in Figure 15. Figure 15: Parallel ↔ BIT Converters In Version 4 Of The UAR Design In the Data_generator shown above, we modify the Send_data module connected to clock cg2 to perform a parallel data-to-BIT conversion. Note: In version 3 of the design, Send_data module with clock cg2 did parallel datato-BYTE conversion (Figure 13(a)). In the Uar_receiver, we add a UAR that is essentially a BIT-to-BYTE converter as a front-end to it. The BYTE data output by UAR is then sent to the previously designed MakeFrame (BYTE-to-Parallel data converter) for further consumption. 99