⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 addere.vm

📁 郑亚民版的可编程逻辑器件开发软件quatus ii里的一些例程
💻 VM
📖 第 1 页 / 共 2 页
字号:
//
// Written by Synplify
// Synplify 7.7.0, Build 054R.
// Fri May 05 11:29:32 2006
//
// Source file index table:
// Object locations will have the form <file>:<line>
// file 0 "noname"
// file 1 "\d:\synplicity\synplify_771\lib\vhd\std.vhd "
// file 2 "\e:\qproj\addereq\addere.vhd "
// file 3 "\e:\qproj\addereq\full_adder.vhd "

`timescale 100 ps/100 ps
module Full_Adder (
  B_c_0,
  A_c_0,
  COUT_x,
  CIN_c,
  SUM_x
);
input B_c_0 ;
input A_c_0 ;
output COUT_x ;
input CIN_c ;
output SUM_x ;
wire B_c_0 ;
wire A_c_0 ;
wire COUT_x ;
wire CIN_c ;
wire SUM_x ;
wire GND ;
wire VCC ;
tri1 tridevclrn;
tri1 tridevpor;
tri0 tridevoe;
// @3:15
  cyclone_lcell SUM_x_0 (
	.devpor(tridevpor),
	.devclrn(tridevclrn),
	.combout(SUM_x),
	.regout(),
	.cout(),
	.clk(),
	.dataa(A_c_0),
	.datab(B_c_0),
	.datac(CIN_c),
	.datad(VCC),
	.aclr(GND),
	.sclr(GND),
	.sload(GND),
	.ena(VCC),
	.cin(GND),
	.inverta(GND),
	.aload(GND),
	.regcascin()
);
defparam SUM_x_0.operation_mode="normal";
defparam SUM_x_0.output_mode="comb_only";
defparam SUM_x_0.lut_mask="9696";
defparam SUM_x_0.synch_mode="off";
defparam SUM_x_0.sum_lutc_input="datac";
// @3:16
  cyclone_lcell COUT_x_0 (
	.devpor(tridevpor),
	.devclrn(tridevclrn),
	.combout(COUT_x),
	.regout(),
	.cout(),
	.clk(),
	.dataa(A_c_0),
	.datab(B_c_0),
	.datac(CIN_c),
	.datad(VCC),
	.aclr(GND),
	.sclr(GND),
	.sload(GND),
	.ena(VCC),
	.cin(GND),
	.inverta(GND),
	.aload(GND),
	.regcascin()
);
defparam COUT_x_0.operation_mode="normal";
defparam COUT_x_0.output_mode="comb_only";
defparam COUT_x_0.lut_mask="1717";
defparam COUT_x_0.synch_mode="off";
defparam COUT_x_0.sum_lutc_input="datac";
  assign GND = 1'b0;
  assign VCC = 1'b1;
endmodule /* Full_Adder */

module Full_Adder_1 (
  B_c_0,
  A_c_0,
  COUT_x_0,
  COUT_x,
  SUM_x
);
input B_c_0 ;
input A_c_0 ;
output COUT_x_0 ;
input COUT_x ;
output SUM_x ;
wire B_c_0 ;
wire A_c_0 ;
wire COUT_x_0 ;
wire COUT_x ;
wire SUM_x ;
wire GND ;
wire VCC ;
tri1 tridevclrn;
tri1 tridevpor;
tri0 tridevoe;
// @3:15
  cyclone_lcell SUM_x_0 (
	.devpor(tridevpor),
	.devclrn(tridevclrn),
	.combout(SUM_x),
	.regout(),
	.cout(),
	.clk(),
	.dataa(A_c_0),
	.datab(B_c_0),
	.datac(COUT_x),
	.datad(VCC),
	.aclr(GND),
	.sclr(GND),
	.sload(GND),
	.ena(VCC),
	.cin(GND),
	.inverta(GND),
	.aload(GND),
	.regcascin()
);
defparam SUM_x_0.operation_mode="normal";
defparam SUM_x_0.output_mode="comb_only";
defparam SUM_x_0.lut_mask="6969";
defparam SUM_x_0.synch_mode="off";
defparam SUM_x_0.sum_lutc_input="datac";
// @3:16
  cyclone_lcell COUT_x_1 (
	.devpor(tridevpor),
	.devclrn(tridevclrn),
	.combout(COUT_x_0),
	.regout(),
	.cout(),
	.clk(),
	.dataa(A_c_0),
	.datab(B_c_0),
	.datac(COUT_x),
	.datad(VCC),
	.aclr(GND),
	.sclr(GND),
	.sload(GND),
	.ena(VCC),
	.cin(GND),
	.inverta(GND),
	.aload(GND),
	.regcascin()
);
defparam COUT_x_1.operation_mode="normal";
defparam COUT_x_1.output_mode="comb_only";
defparam COUT_x_1.lut_mask="7171";
defparam COUT_x_1.synch_mode="off";
defparam COUT_x_1.sum_lutc_input="datac";
  assign GND = 1'b0;
  assign VCC = 1'b1;
endmodule /* Full_Adder_1 */

module Full_Adder_2 (
  B_c_0,
  A_c_0,
  COUT_x_0,
  COUT_x,
  SUM_x
);
input B_c_0 ;
input A_c_0 ;
output COUT_x_0 ;
input COUT_x ;
output SUM_x ;
wire B_c_0 ;
wire A_c_0 ;
wire COUT_x_0 ;
wire COUT_x ;
wire SUM_x ;
wire GND ;
wire VCC ;
tri1 tridevclrn;
tri1 tridevpor;
tri0 tridevoe;
// @3:15
  cyclone_lcell SUM_x_0 (
	.devpor(tridevpor),
	.devclrn(tridevclrn),
	.combout(SUM_x),
	.regout(),
	.cout(),
	.clk(),
	.dataa(A_c_0),
	.datab(B_c_0),
	.datac(COUT_x),
	.datad(VCC),
	.aclr(GND),
	.sclr(GND),
	.sload(GND),
	.ena(VCC),
	.cin(GND),
	.inverta(GND),
	.aload(GND),
	.regcascin()
);
defparam SUM_x_0.operation_mode="normal";
defparam SUM_x_0.output_mode="comb_only";
defparam SUM_x_0.lut_mask="6969";
defparam SUM_x_0.synch_mode="off";
defparam SUM_x_0.sum_lutc_input="datac";
// @3:16
  cyclone_lcell COUT_x_1 (
	.devpor(tridevpor),
	.devclrn(tridevclrn),
	.combout(COUT_x_0),
	.regout(),
	.cout(),
	.clk(),
	.dataa(A_c_0),
	.datab(B_c_0),
	.datac(COUT_x),
	.datad(VCC),
	.aclr(GND),
	.sclr(GND),
	.sload(GND),
	.ena(VCC),
	.cin(GND),
	.inverta(GND),
	.aload(GND),
	.regcascin()
);
defparam COUT_x_1.operation_mode="normal";
defparam COUT_x_1.output_mode="comb_only";
defparam COUT_x_1.lut_mask="7171";
defparam COUT_x_1.synch_mode="off";
defparam COUT_x_1.sum_lutc_input="datac";
  assign GND = 1'b0;
  assign VCC = 1'b1;
endmodule /* Full_Adder_2 */

module Full_Adder_3 (
  B_c_0,
  A_c_0,
  N_5_i,
  COUT_x,
  SUM_x
);
input B_c_0 ;
input A_c_0 ;
output N_5_i ;
input COUT_x ;
output SUM_x ;
wire B_c_0 ;
wire A_c_0 ;
wire N_5_i ;
wire COUT_x ;
wire SUM_x ;
wire GND ;
wire VCC ;
tri1 tridevclrn;
tri1 tridevpor;
tri0 tridevoe;
// @3:15
  cyclone_lcell SUM_x_0 (
	.devpor(tridevpor),
	.devclrn(tridevclrn),
	.combout(SUM_x),
	.regout(),
	.cout(),
	.clk(),
	.dataa(A_c_0),
	.datab(B_c_0),
	.datac(COUT_x),
	.datad(VCC),
	.aclr(GND),
	.sclr(GND),
	.sload(GND),
	.ena(VCC),
	.cin(GND),
	.inverta(GND),
	.aload(GND),
	.regcascin()
);
defparam SUM_x_0.operation_mode="normal";
defparam SUM_x_0.output_mode="comb_only";
defparam SUM_x_0.lut_mask="6969";
defparam SUM_x_0.synch_mode="off";
defparam SUM_x_0.sum_lutc_input="datac";
// @3:16
  cyclone_lcell COUT_x_0 (
	.devpor(tridevpor),
	.devclrn(tridevclrn),
	.combout(N_5_i),
	.regout(),
	.cout(),
	.clk(),
	.dataa(A_c_0),
	.datab(B_c_0),
	.datac(COUT_x),
	.datad(VCC),
	.aclr(GND),
	.sclr(GND),
	.sload(GND),
	.ena(VCC),
	.cin(GND),
	.inverta(GND),
	.aload(GND),
	.regcascin()
);
defparam COUT_x_0.operation_mode="normal";
defparam COUT_x_0.output_mode="comb_only";
defparam COUT_x_0.lut_mask="8e8e";
defparam COUT_x_0.synch_mode="off";
defparam COUT_x_0.sum_lutc_input="datac";
  assign GND = 1'b0;
  assign VCC = 1'b1;
endmodule /* Full_Adder_3 */

module Full_Adder_4 (
  B_c_0,
  A_c_0,
  COUT_x_0,
  COUT_x,
  SUM_x
);
input B_c_0 ;
input A_c_0 ;
output COUT_x_0 ;
input COUT_x ;
output SUM_x ;
wire B_c_0 ;
wire A_c_0 ;
wire COUT_x_0 ;
wire COUT_x ;
wire SUM_x ;
wire GND ;
wire VCC ;
tri1 tridevclrn;
tri1 tridevpor;
tri0 tridevoe;
// @3:15
  cyclone_lcell SUM_x_0 (
	.devpor(tridevpor),
	.devclrn(tridevclrn),
	.combout(SUM_x),
	.regout(),
	.cout(),
	.clk(),
	.dataa(A_c_0),
	.datab(B_c_0),
	.datac(COUT_x),
	.datad(VCC),
	.aclr(GND),
	.sclr(GND),
	.sload(GND),
	.ena(VCC),
	.cin(GND),
	.inverta(GND),
	.aload(GND),
	.regcascin()
);
defparam SUM_x_0.operation_mode="normal";
defparam SUM_x_0.output_mode="comb_only";
defparam SUM_x_0.lut_mask="6969";
defparam SUM_x_0.synch_mode="off";
defparam SUM_x_0.sum_lutc_input="datac";
// @3:16
  cyclone_lcell COUT_x_1 (
	.devpor(tridevpor),
	.devclrn(tridevclrn),
	.combout(COUT_x_0),
	.regout(),
	.cout(),
	.clk(),
	.dataa(A_c_0),
	.datab(B_c_0),
	.datac(COUT_x),
	.datad(VCC),
	.aclr(GND),
	.sclr(GND),
	.sload(GND),
	.ena(VCC),
	.cin(GND),
	.inverta(GND),
	.aload(GND),
	.regcascin()
);
defparam COUT_x_1.operation_mode="normal";
defparam COUT_x_1.output_mode="comb_only";
defparam COUT_x_1.lut_mask="7171";
defparam COUT_x_1.synch_mode="off";
defparam COUT_x_1.sum_lutc_input="datac";
  assign GND = 1'b0;
  assign VCC = 1'b1;
endmodule /* Full_Adder_4 */

module Full_Adder_5 (
  B_c_0,
  A_c_0,
  COUT_x_0,
  COUT_x,
  SUM_x
);
input B_c_0 ;
input A_c_0 ;
output COUT_x_0 ;
input COUT_x ;
output SUM_x ;
wire B_c_0 ;
wire A_c_0 ;
wire COUT_x_0 ;
wire COUT_x ;
wire SUM_x ;
wire GND ;
wire VCC ;
tri1 tridevclrn;
tri1 tridevpor;
tri0 tridevoe;
// @3:15
  cyclone_lcell SUM_x_0 (
	.devpor(tridevpor),
	.devclrn(tridevclrn),
	.combout(SUM_x),
	.regout(),
	.cout(),
	.clk(),
	.dataa(A_c_0),
	.datab(B_c_0),
	.datac(COUT_x),
	.datad(VCC),
	.aclr(GND),
	.sclr(GND),
	.sload(GND),
	.ena(VCC),
	.cin(GND),
	.inverta(GND),
	.aload(GND),
	.regcascin()
);
defparam SUM_x_0.operation_mode="normal";
defparam SUM_x_0.output_mode="comb_only";
defparam SUM_x_0.lut_mask="6969";
defparam SUM_x_0.synch_mode="off";
defparam SUM_x_0.sum_lutc_input="datac";
// @3:16
  cyclone_lcell COUT_x_1 (
	.devpor(tridevpor),
	.devclrn(tridevclrn),
	.combout(COUT_x_0),
	.regout(),
	.cout(),
	.clk(),
	.dataa(A_c_0),
	.datab(B_c_0),
	.datac(COUT_x),
	.datad(VCC),
	.aclr(GND),
	.sclr(GND),
	.sload(GND),
	.ena(VCC),
	.cin(GND),
	.inverta(GND),
	.aload(GND),
	.regcascin()
);
defparam COUT_x_1.operation_mode="normal";
defparam COUT_x_1.output_mode="comb_only";
defparam COUT_x_1.lut_mask="7171";
defparam COUT_x_1.synch_mode="off";
defparam COUT_x_1.sum_lutc_input="datac";
  assign GND = 1'b0;
  assign VCC = 1'b1;
endmodule /* Full_Adder_5 */

module Full_Adder_6 (
  B_c_0,
  A_c_0,
  COUT_x_0,
  COUT_x,
  SUM_x
);
input B_c_0 ;
input A_c_0 ;
output COUT_x_0 ;
input COUT_x ;
output SUM_x ;
wire B_c_0 ;
wire A_c_0 ;
wire COUT_x_0 ;
wire COUT_x ;
wire SUM_x ;
wire GND ;
wire VCC ;
tri1 tridevclrn;
tri1 tridevpor;
tri0 tridevoe;
// @3:15
  cyclone_lcell SUM_x_0 (
	.devpor(tridevpor),
	.devclrn(tridevclrn),
	.combout(SUM_x),
	.regout(),
	.cout(),
	.clk(),
	.dataa(A_c_0),
	.datab(B_c_0),
	.datac(COUT_x),
	.datad(VCC),
	.aclr(GND),
	.sclr(GND),
	.sload(GND),
	.ena(VCC),
	.cin(GND),
	.inverta(GND),
	.aload(GND),
	.regcascin()
);
defparam SUM_x_0.operation_mode="normal";
defparam SUM_x_0.output_mode="comb_only";
defparam SUM_x_0.lut_mask="6969";
defparam SUM_x_0.synch_mode="off";
defparam SUM_x_0.sum_lutc_input="datac";
// @3:16
  cyclone_lcell COUT_x_1 (
	.devpor(tridevpor),
	.devclrn(tridevclrn),
	.combout(COUT_x_0),
	.regout(),
	.cout(),
	.clk(),
	.dataa(A_c_0),
	.datab(B_c_0),
	.datac(COUT_x),
	.datad(VCC),
	.aclr(GND),
	.sclr(GND),
	.sload(GND),
	.ena(VCC),
	.cin(GND),
	.inverta(GND),
	.aload(GND),
	.regcascin()
);
defparam COUT_x_1.operation_mode="normal";
defparam COUT_x_1.output_mode="comb_only";
defparam COUT_x_1.lut_mask="7171";
defparam COUT_x_1.synch_mode="off";
defparam COUT_x_1.sum_lutc_input="datac";
  assign GND = 1'b0;
  assign VCC = 1'b1;
endmodule /* Full_Adder_6 */

module Full_Adder_7 (
  B_c_0,
  A_c_0,
  COUT_x_0,
  COUT_x,
  SUM_x
);
input B_c_0 ;
input A_c_0 ;
output COUT_x_0 ;
input COUT_x ;
output SUM_x ;
wire B_c_0 ;
wire A_c_0 ;
wire COUT_x_0 ;
wire COUT_x ;
wire SUM_x ;
wire GND ;
wire VCC ;
tri1 tridevclrn;
tri1 tridevpor;
tri0 tridevoe;
// @3:15
  cyclone_lcell SUM_x_0 (
	.devpor(tridevpor),
	.devclrn(tridevclrn),
	.combout(SUM_x),
	.regout(),
	.cout(),
	.clk(),
	.dataa(A_c_0),
	.datab(B_c_0),
	.datac(COUT_x),
	.datad(VCC),
	.aclr(GND),
	.sclr(GND),
	.sload(GND),
	.ena(VCC),
	.cin(GND),
	.inverta(GND),
	.aload(GND),
	.regcascin()
);
defparam SUM_x_0.operation_mode="normal";
defparam SUM_x_0.output_mode="comb_only";
defparam SUM_x_0.lut_mask="6969";
defparam SUM_x_0.synch_mode="off";
defparam SUM_x_0.sum_lutc_input="datac";

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -