一、创建项目文件夹
 ①doc是存放项目的设计思路 ②ip(我暂时没用过,不知道存放什么) ③prj是你的项目 ④rtl是你写Verilog语言的地方 ⑤tb是testbench,仿真的地方
二、使用Quartus创建项目
1.点击New Project Wizard  2. 第一行是把你新建的项目放在刚刚新建好的项目文件夹prj里 第二行三行是给你的项目命名,基本上是一样的  3.选择默认的空的工程,下一步  4.是给你的工程添加文件的,如果你是先写好了Verilog代码,找到文件,放进去,如果你是先创建项目的,直接下一步  5.左边是芯片型号选择,右边是芯片参数选择,下面是我所使用的的芯片EP4CE6F17C8  6.这里我基本上使用的是ModelSim仿真文件,如果有其他的仿真工具,使用其他的选择  7.最后看一遍你所创建工程项目的各类信息,没问题就Finish了 
三、用Verilog语言写代码
1.创建文件,选择Verilog HDL File 
1.Quartus与vscode 联动
这里教大家一个小技巧,使用原生的Quartus编写程序不方便,我使用的是VSCODE,需要设置一下以及下载插件。
1.点击Tools–>Options  2.找到Preferred Text Editor Text editor 选择Custome 下面是找到你的Vscode的路径的 最后在路径后面加上-g %f:%l 即可 
2.vscode下载插件
搜索verilog,下载前面三个就行了 
四、你是大佬了,你可以独立学习了
开启你的代码之旅 
|