first commit
这个提交包含在:
@ -0,0 +1 @@
|
||||
set tool_name "Questa Altera FPGA (Verilog)"
|
||||
276
Exp1/simulation/questa/halfadder.vo
普通文件
276
Exp1/simulation/questa/halfadder.vo
普通文件
@ -0,0 +1,276 @@
|
||||
// Copyright (C) 2025 Altera Corporation. All rights reserved.
|
||||
// Your use of Altera Corporation's design tools, logic functions
|
||||
// and other software and tools, and any partner logic
|
||||
// functions, and any output files from any of the foregoing
|
||||
// (including device programming or simulation files), and any
|
||||
// associated documentation or information are expressly subject
|
||||
// to the terms and conditions of the Altera Program License
|
||||
// Subscription Agreement, the Altera Quartus Prime License Agreement,
|
||||
// the Altera IP License Agreement, or other applicable license
|
||||
// agreement, including, without limitation, that your use is for
|
||||
// the sole purpose of programming logic devices manufactured by
|
||||
// Altera and sold by Altera or its authorized distributors. Please
|
||||
// refer to the Altera Software License Subscription Agreements
|
||||
// on the Quartus Prime software download page.
|
||||
|
||||
// VENDOR "Altera"
|
||||
// PROGRAM "Quartus Prime"
|
||||
// VERSION "Version 25.1std.0 Build 1129 10/21/2025 SC Lite Edition"
|
||||
|
||||
// DATE "01/15/2026 09:42:27"
|
||||
|
||||
//
|
||||
// Device: Altera 10M02SCM153I7G Package MBGA153
|
||||
//
|
||||
|
||||
//
|
||||
// This Verilog file should be used for Questa Altera FPGA (Verilog) only
|
||||
//
|
||||
|
||||
`timescale 1 ps/ 1 ps
|
||||
|
||||
module halfadder (
|
||||
a,
|
||||
b,
|
||||
cin,
|
||||
sum,
|
||||
cout);
|
||||
input a;
|
||||
input b;
|
||||
input cin;
|
||||
output sum;
|
||||
output cout;
|
||||
|
||||
// Design Ports Information
|
||||
// sum => Location: PIN_N14, I/O Standard: 2.5 V, Current Strength: Default
|
||||
// cout => Location: PIN_N15, I/O Standard: 2.5 V, Current Strength: Default
|
||||
// a => Location: PIN_J12, I/O Standard: 2.5 V, Current Strength: Default
|
||||
// b => Location: PIN_H11, I/O Standard: 2.5 V, Current Strength: Default
|
||||
// cin => Location: PIN_H12, I/O Standard: 2.5 V, Current Strength: Default
|
||||
|
||||
|
||||
wire gnd;
|
||||
wire vcc;
|
||||
wire unknown;
|
||||
|
||||
assign gnd = 1'b0;
|
||||
assign vcc = 1'b1;
|
||||
assign unknown = 1'bx;
|
||||
|
||||
tri1 devclrn;
|
||||
tri1 devpor;
|
||||
tri1 devoe;
|
||||
wire \~QUARTUS_CREATED_GND~I_combout ;
|
||||
wire \~QUARTUS_CREATED_UNVM~~busy ;
|
||||
wire \sum~output_o ;
|
||||
wire \cout~output_o ;
|
||||
wire \a~input_o ;
|
||||
wire \b~input_o ;
|
||||
wire \cin~input_o ;
|
||||
wire \comb~0_combout ;
|
||||
wire \comb~1_combout ;
|
||||
|
||||
|
||||
hard_block auto_generated_inst(
|
||||
.devpor(devpor),
|
||||
.devclrn(devclrn),
|
||||
.devoe(devoe));
|
||||
|
||||
// Location: LCCOMB_X6_Y5_N0
|
||||
fiftyfivenm_lcell_comb \~QUARTUS_CREATED_GND~I (
|
||||
// Equation(s):
|
||||
// \~QUARTUS_CREATED_GND~I_combout = GND
|
||||
|
||||
.dataa(gnd),
|
||||
.datab(gnd),
|
||||
.datac(gnd),
|
||||
.datad(gnd),
|
||||
.cin(gnd),
|
||||
.combout(\~QUARTUS_CREATED_GND~I_combout ),
|
||||
.cout());
|
||||
// synopsys translate_off
|
||||
defparam \~QUARTUS_CREATED_GND~I .lut_mask = 16'h0000;
|
||||
defparam \~QUARTUS_CREATED_GND~I .sum_lutc_input = "datac";
|
||||
// synopsys translate_on
|
||||
|
||||
// Location: IOOBUF_X18_Y1_N2
|
||||
fiftyfivenm_io_obuf \sum~output (
|
||||
.i(\comb~0_combout ),
|
||||
.oe(vcc),
|
||||
.seriesterminationcontrol(16'b0000000000000000),
|
||||
.devoe(devoe),
|
||||
.o(\sum~output_o ),
|
||||
.obar());
|
||||
// synopsys translate_off
|
||||
defparam \sum~output .bus_hold = "false";
|
||||
defparam \sum~output .open_drain_output = "false";
|
||||
// synopsys translate_on
|
||||
|
||||
// Location: IOOBUF_X18_Y1_N9
|
||||
fiftyfivenm_io_obuf \cout~output (
|
||||
.i(!\comb~1_combout ),
|
||||
.oe(vcc),
|
||||
.seriesterminationcontrol(16'b0000000000000000),
|
||||
.devoe(devoe),
|
||||
.o(\cout~output_o ),
|
||||
.obar());
|
||||
// synopsys translate_off
|
||||
defparam \cout~output .bus_hold = "false";
|
||||
defparam \cout~output .open_drain_output = "false";
|
||||
// synopsys translate_on
|
||||
|
||||
// Location: IOIBUF_X18_Y6_N22
|
||||
fiftyfivenm_io_ibuf \a~input (
|
||||
.i(a),
|
||||
.ibar(gnd),
|
||||
.nsleep(vcc),
|
||||
.o(\a~input_o ));
|
||||
// synopsys translate_off
|
||||
defparam \a~input .bus_hold = "false";
|
||||
defparam \a~input .listen_to_nsleep_signal = "false";
|
||||
defparam \a~input .simulate_z_as = "z";
|
||||
// synopsys translate_on
|
||||
|
||||
// Location: IOIBUF_X18_Y6_N15
|
||||
fiftyfivenm_io_ibuf \b~input (
|
||||
.i(b),
|
||||
.ibar(gnd),
|
||||
.nsleep(vcc),
|
||||
.o(\b~input_o ));
|
||||
// synopsys translate_off
|
||||
defparam \b~input .bus_hold = "false";
|
||||
defparam \b~input .listen_to_nsleep_signal = "false";
|
||||
defparam \b~input .simulate_z_as = "z";
|
||||
// synopsys translate_on
|
||||
|
||||
// Location: IOIBUF_X18_Y8_N22
|
||||
fiftyfivenm_io_ibuf \cin~input (
|
||||
.i(cin),
|
||||
.ibar(gnd),
|
||||
.nsleep(vcc),
|
||||
.o(\cin~input_o ));
|
||||
// synopsys translate_off
|
||||
defparam \cin~input .bus_hold = "false";
|
||||
defparam \cin~input .listen_to_nsleep_signal = "false";
|
||||
defparam \cin~input .simulate_z_as = "z";
|
||||
// synopsys translate_on
|
||||
|
||||
// Location: LCCOMB_X17_Y1_N8
|
||||
fiftyfivenm_lcell_comb \comb~0 (
|
||||
// Equation(s):
|
||||
// \comb~0_combout = \a~input_o $ (\b~input_o $ (\cin~input_o ))
|
||||
|
||||
.dataa(\a~input_o ),
|
||||
.datab(gnd),
|
||||
.datac(\b~input_o ),
|
||||
.datad(\cin~input_o ),
|
||||
.cin(gnd),
|
||||
.combout(\comb~0_combout ),
|
||||
.cout());
|
||||
// synopsys translate_off
|
||||
defparam \comb~0 .lut_mask = 16'hA55A;
|
||||
defparam \comb~0 .sum_lutc_input = "datac";
|
||||
// synopsys translate_on
|
||||
|
||||
// Location: LCCOMB_X17_Y1_N2
|
||||
fiftyfivenm_lcell_comb \comb~1 (
|
||||
// Equation(s):
|
||||
// \comb~1_combout = (\a~input_o & ((\b~input_o ) # (\cin~input_o ))) # (!\a~input_o & (\b~input_o & \cin~input_o ))
|
||||
|
||||
.dataa(\a~input_o ),
|
||||
.datab(gnd),
|
||||
.datac(\b~input_o ),
|
||||
.datad(\cin~input_o ),
|
||||
.cin(gnd),
|
||||
.combout(\comb~1_combout ),
|
||||
.cout());
|
||||
// synopsys translate_off
|
||||
defparam \comb~1 .lut_mask = 16'hFAA0;
|
||||
defparam \comb~1 .sum_lutc_input = "datac";
|
||||
// synopsys translate_on
|
||||
|
||||
// Location: UNVM_X0_Y8_N40
|
||||
fiftyfivenm_unvm \~QUARTUS_CREATED_UNVM~ (
|
||||
.arclk(vcc),
|
||||
.arshft(vcc),
|
||||
.drclk(vcc),
|
||||
.drshft(vcc),
|
||||
.drdin(vcc),
|
||||
.nprogram(vcc),
|
||||
.nerase(vcc),
|
||||
.nosc_ena(\~QUARTUS_CREATED_GND~I_combout ),
|
||||
.par_en(vcc),
|
||||
.xe_ye(vcc),
|
||||
.se(vcc),
|
||||
.ardin(23'b11111111111111111111111),
|
||||
.busy(\~QUARTUS_CREATED_UNVM~~busy ),
|
||||
.osc(),
|
||||
.bgpbusy(),
|
||||
.sp_pass(),
|
||||
.se_pass(),
|
||||
.drdout());
|
||||
// synopsys translate_off
|
||||
defparam \~QUARTUS_CREATED_UNVM~ .addr_range1_end_addr = -1;
|
||||
defparam \~QUARTUS_CREATED_UNVM~ .addr_range1_offset = -1;
|
||||
defparam \~QUARTUS_CREATED_UNVM~ .addr_range2_end_addr = -1;
|
||||
defparam \~QUARTUS_CREATED_UNVM~ .addr_range2_offset = -1;
|
||||
defparam \~QUARTUS_CREATED_UNVM~ .addr_range3_offset = -1;
|
||||
defparam \~QUARTUS_CREATED_UNVM~ .is_compressed_image = "false";
|
||||
defparam \~QUARTUS_CREATED_UNVM~ .is_dual_boot = "false";
|
||||
defparam \~QUARTUS_CREATED_UNVM~ .is_eram_skip = "false";
|
||||
defparam \~QUARTUS_CREATED_UNVM~ .max_ufm_valid_addr = -1;
|
||||
defparam \~QUARTUS_CREATED_UNVM~ .max_valid_addr = -1;
|
||||
defparam \~QUARTUS_CREATED_UNVM~ .min_ufm_valid_addr = -1;
|
||||
defparam \~QUARTUS_CREATED_UNVM~ .min_valid_addr = -1;
|
||||
defparam \~QUARTUS_CREATED_UNVM~ .part_name = "quartus_created_unvm";
|
||||
defparam \~QUARTUS_CREATED_UNVM~ .reserve_block = "true";
|
||||
// synopsys translate_on
|
||||
|
||||
assign sum = \sum~output_o ;
|
||||
|
||||
assign cout = \cout~output_o ;
|
||||
|
||||
endmodule
|
||||
|
||||
module hard_block (
|
||||
|
||||
devpor,
|
||||
devclrn,
|
||||
devoe);
|
||||
|
||||
// Design Ports Information
|
||||
// ~ALTERA_TMS~ => Location: PIN_G1, I/O Standard: 2.5 V Schmitt Trigger, Current Strength: Default
|
||||
// ~ALTERA_TCK~ => Location: PIN_J1, I/O Standard: 2.5 V Schmitt Trigger, Current Strength: Default
|
||||
// ~ALTERA_TDI~ => Location: PIN_H5, I/O Standard: 2.5 V Schmitt Trigger, Current Strength: Default
|
||||
// ~ALTERA_TDO~ => Location: PIN_H4, I/O Standard: 2.5 V, Current Strength: Default
|
||||
// ~ALTERA_nCONFIG~ => Location: PIN_E8, I/O Standard: 2.5 V Schmitt Trigger, Current Strength: Default
|
||||
// ~ALTERA_nSTATUS~ => Location: PIN_D6, I/O Standard: 2.5 V Schmitt Trigger, Current Strength: Default
|
||||
// ~ALTERA_CONF_DONE~ => Location: PIN_E6, I/O Standard: 2.5 V Schmitt Trigger, Current Strength: Default
|
||||
|
||||
input devpor;
|
||||
input devclrn;
|
||||
input devoe;
|
||||
|
||||
wire gnd;
|
||||
wire vcc;
|
||||
wire unknown;
|
||||
|
||||
assign gnd = 1'b0;
|
||||
assign vcc = 1'b1;
|
||||
assign unknown = 1'bx;
|
||||
|
||||
wire \~ALTERA_TMS~~padout ;
|
||||
wire \~ALTERA_TCK~~padout ;
|
||||
wire \~ALTERA_TDI~~padout ;
|
||||
wire \~ALTERA_nCONFIG~~padout ;
|
||||
wire \~ALTERA_nSTATUS~~padout ;
|
||||
wire \~ALTERA_CONF_DONE~~padout ;
|
||||
wire \~ALTERA_TMS~~ibuf_o ;
|
||||
wire \~ALTERA_TCK~~ibuf_o ;
|
||||
wire \~ALTERA_TDI~~ibuf_o ;
|
||||
wire \~ALTERA_nCONFIG~~ibuf_o ;
|
||||
wire \~ALTERA_nSTATUS~~ibuf_o ;
|
||||
wire \~ALTERA_CONF_DONE~~ibuf_o ;
|
||||
|
||||
|
||||
endmodule
|
||||
在新工单中引用
屏蔽一个用户