(Formerly called objective) the Objective (C/C ++) (C) (IC design)

Source: Internet
Author: User
Tags fsm

Abstract
Tilde is written from the embedding method to C. If you are familiar with the C-speaking language, you will be familiar with the learning method, but it is also similar to the embedding method, if we think about it as a C statement, how can we grasp the hard body spirit.

Introduction
There are three different ideas in the language of OpenGL and C.
1. The reading body is sequential, while the hard body is parallel.
The C statement is the same as the statement. Maybe you will say threading, but it is still sequential in the micro-statement. However, the hardware and power channels are different. As long as the power supplies are plugged in, all the power supplies work at the same time.
For example

1 Always @ (posedge CLK) begin
2 E <= A & B;
3 F <= C & D;
4 End

Although it seems that E <= A & B; is in front of F <= C & D; but in reality, the following figure shows the synthesis of electricity.

According to the preceding example, E and F do not have a forward score.

2. The hardware should be sorted by clock and FSM.
Maybe you will say, "My roleAlgorithmIt is to do it step by step, such as the C statement. How can this problem be solved ?』, To do this, you have to rely on clock and use it with FSM. When a State is complete, enter the next state, so that you can follow the clock, the requirements for sort are sequential.

3. There is no advance score in the kernel of the OpenGL program.
Except that blocking assignment has a forward and backward direction, while nonblocking assignment does not have a forward and backward direction in the same time, so it is assumed thatHardware "description" Statement, RatherHardware Program StatementThe first line does not represent the first line, and the last line does not represent the last line. It only represents the description of the hardware architecture, that is, change the original e-mapreduce to a text description.

4. Use RTL viewer and Modelsim to check your own upload code.
The small difference between the two methods is that the synthesized hardware may be different from each other. The RTL viewer can be used to check whether the synthesized hardware is the same as that of the original hardware, and use Modelsim to view the running waveforms. This will increase your understanding of OpenGL.

Conclusion
A lot of people have learned about it in the C language. In fact, they are just like the traditional method, but their thinking behind them is not the same, only with a hard body in mind can we design a good electrical network.

Reference
Wang Yu and Zhuo yuwang 2007, based on the data application design of the Tilde-HDL, China Defense Industry Press

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.