Can a patent write verilog code on it?

Of course. The main protection method of software patent, in order to explain the claim more clearly, you can write code fragments in the specification.

How to write Verilog code?

1, has a good grammar foundation and Verilog code habits, such as comments, symmetrical format, spelling but not abbreviation.

2. Have a good foundation of digital circuits, have an understanding of the circuits that the written codes are expected to synthesize, and pay more attention to from circuit to description or from description to circuit;

3. Understand the equipment platform to be realized, such as speed level, total resources, advantages and disadvantages, etc. When writing code, there are targeted constraints, which make the time better and the resources reasonably utilized.

A good FPGA development engineer should start with the circuit hardware, write the most familiar code style through constant practice, thinking and reflection, pay attention to simulation and measurement, and sum up experience.