Chapter 5 The project is huge

A software engineer does not necessarily know how the hardware is executed, as long as the program is written and translated into machine language through the corresponding program compiler.

A hardware engineer, especially a hardware architecture engineer, must have a deep understanding of software, and he needs to know the execution mechanism of the software compiler, either to change the hardware chip design, or to correct the software compilation, in order to have better execution efficiency.

Wang Anran is very proficient in the C language, and has a deep study of the extension of the C language, C++, but for the first time for him to use C/C++ to compile large-scale software, the challenge is still very great.

However, for science and engineering, many things are interconnected, and the design of the chip must first determine the architecture of the chip, just like building a factory, first of all, we must confirm what to produce, how much the output design, only by clarifying these first, can we determine the location and layout of the factory.

The first thing to design a chip design software is to require, and object-oriented design in C/C++ language is a good tool.

Each transistor contains several pieces of information, one position information, that is, the position of the transistor, the type of two transistors, the state of the three transistors, and the excitation conditions of the four transistors, which is also the most important, involves transistor simulation testing.

This is the micro aspect, and on the macro architecture, the input and output structure, the storage structure, the simulation test structure, the logic gate model, the general register, the logical integer floating-point operation structure, the cache structure, the instruction set structure, each of which is a relatively independent whole, can communicate data with each other, but does not need to know how the other works.

These logic circuits need to be written line by line.

"Now if I have 100 people under my roster, I can get the beta version out in a month. ”

No money, no one, Wang Anran is very helpless.

Early the next morning, Wang Anran came to the Graduate School of Qingdao University.

"I said Anran, you're playing big this time, what's the matter, it's really your name, sanctimonious!"

Wang Anran was also excited to see his good brother Jia Guofang, and hugged him fiercely, for him, he hadn't seen him for more than ten years.

Jia Guofang pushed it away and said: "Anran, what's wrong with you, weird, did something happen?" Study abroad well, how many people have been pushed by you in their dreams, domineering, come, drink saliva, and talk to my brother well!"

Wang Anran looked at Jia Guofang wearing big pants, in the summer, he put his socks on the radiator, and the room was still a familiar smell.

Covering his nose, he said: "If it's a brother, don't ask, don't say anything, I'm here to ask you for a favor and give me the card to use." ”

"No, man, I only have 30 hours a month, and you're going to run out of them, and my papers aren't blind. ”

said this, but without hesitation, he gave the computer card to Wang Anran without hesitation.

30 machine hours is definitely not enough, but fortunately, Wang Anran has enough research on the IBM 390 small computer, and its memory mechanism has a small loophole, and there is a high probability of memory overflow when reading continuously, so that it can easily obtain administrator privileges.

When the time comes, not only can you stop the timer, but you can also set up a special area in the hard disk, you must know that the mobile storage in 1993 is floppy disks and optical discs, every time you operate the computer, it is impossible to take all the data away, and then bring it back when you get on the machine.

IBM390 minicomputer, not only can write software, as one of the top universities in China, Qingda is also the first batch of universities in the country to access the Internet, Wang Anran still remembers several well-known foreign universities ftp website, which has the latest chip technology papers, as well as hardware standards, which also provides convenience for Wang Anran to write software.

Ten days later, Wang Anran wrote more than 30,000 pieces of code, which is still with the help of his ultra-high hand speed, and refers to the mature template of chip design in the previous life, and the design of the overall architecture is only 10% complete, so that the design of the architecture alone takes 100 days, plus more complicated function embedding, debugging, he alone may not be written in three or five years.

This time makes Wang Anran a little desperate, these three or five years are the golden time for chip development, and if you miss it, it is difficult to avoid the professional barriers of those chip giants and compete on the same stage.

Not to mention the hegemony of the CPU industry, even in the field of graphics cards, after two or three years, it has entered the competition of eight countries, including 3dfx, NVIDIA, ATI and a large number of graphics card manufacturers.

I can't afford to spend time, on this day, Wang Anran typed the last line of the register code, and after the compilation was successful, he saved the program and came to Jia Guofang's dormitory.

"I really admire you, Anran, it's all up outside, you are unmoved, this concentration, I am not as good as you, but what is even more strange to me is that I have 30 hours of machine card, how did you get on it for a month, you have to teach me. ”

Wang Anran sighed and continued to eat the food that Jia Guofang brought back from the cafeteria. I was still thinking about how to improve the progress of the project.

It wasn't until Jia Guofang shouted a few more times that he came back to his senses.

"Well, what's wrong?"

"I said, did you listen to me? Anran, is there something wrong? I haven't asked you what you do when you use so many machines, by the way, your parents have come to Yanjing, why have you been avoiding them. ”

"You said my parents came to Yanjing?"

"You don't know?"

"No one told me!"

Jia Guofang patted his head, tore off the socks on his feet, and threw them, and the socks landed firmly on the radiator.

"I thought you knew, the people at the school couldn't find you, and they looked for me, asking if they had seen you, we are brothers, how could I expose your whereabouts, of course I haven't seen you, I heard that they also reported to the public security ......"

Wang Anran was annoyed for a while, and said: "You are stupid, I have been living with you for half a month, why don't you mention a word." ”

Jia Guofang touched his head and said, "I thought you did it on purpose, didn't you just say it when you came, don't tell you anything, it's not a brother, I thought it was all planned by you!"

Wang Anran smiled bitterly, all of these science men are straight-minded, and Jia Guofang is even more tenacious, but he is also one of the highest academically accomplished ones in the class.

In his previous life, Jia Guofang went to Cambridge University for further study in automation after studying for a master's degree and doctorate at Qing University, and after returning to China, he stayed at Qing University to teach.

His characteristic is that he is unkempt, how convenient and how to come, often wear big pants, slippers to class, in the Internet era, his students took photos and put them on the Internet, and was jokingly called a peasant professor.

Of course, that's all for later......