这个提交包含在:
2026-01-16 11:39:59 +08:00
父节点 1e613835fe
当前提交 45098a644c
共有 429 个文件被更改,包括 17349 次插入 和 11 次删除

查看文件

@ -0,0 +1 @@
set tool_name "Questa Altera FPGA (Verilog)"

查看文件

@ -0,0 +1,296 @@
// 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 23:42:58"
//
// Device: Altera 10M02SCM153I7G Package MBGA153
//
//
// This Verilog file should be used for Questa Altera FPGA (Verilog) only
//
`timescale 1 ps/ 1 ps
module Trigger (
clk,
rst,
d,
q,
qb);
input clk;
input rst;
input d;
output q;
output qb;
// Design Ports Information
// q => Location: PIN_N15, I/O Standard: 3.3-V LVCMOS, Current Strength: 2mA
// qb => Location: PIN_N14, I/O Standard: 3.3-V LVCMOS, Current Strength: 2mA
// rst => Location: PIN_J9, I/O Standard: 3.3-V LVCMOS, Current Strength: Default
// d => Location: PIN_J12, I/O Standard: 3.3-V LVCMOS, Current Strength: Default
// clk => Location: PIN_J5, I/O Standard: 3.3-V LVCMOS, 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 \q~output_o ;
wire \qb~output_o ;
wire \clk~input_o ;
wire \d~input_o ;
wire \rst~input_o ;
wire \q~0_combout ;
wire \q~reg0feeder_combout ;
wire \q~reg0_q ;
hard_block auto_generated_inst(
.devpor(devpor),
.devclrn(devclrn),
.devoe(devoe));
// Location: LCCOMB_X11_Y9_N16
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_N9
fiftyfivenm_io_obuf \q~output (
.i(\q~reg0_q ),
.oe(vcc),
.seriesterminationcontrol(16'b0000000000000000),
.devoe(devoe),
.o(\q~output_o ),
.obar());
// synopsys translate_off
defparam \q~output .bus_hold = "false";
defparam \q~output .open_drain_output = "false";
// synopsys translate_on
// Location: IOOBUF_X18_Y1_N2
fiftyfivenm_io_obuf \qb~output (
.i(!\q~reg0_q ),
.oe(vcc),
.seriesterminationcontrol(16'b0000000000000000),
.devoe(devoe),
.o(\qb~output_o ),
.obar());
// synopsys translate_off
defparam \qb~output .bus_hold = "false";
defparam \qb~output .open_drain_output = "false";
// synopsys translate_on
// Location: IOIBUF_X0_Y5_N22
fiftyfivenm_io_ibuf \clk~input (
.i(clk),
.ibar(gnd),
.nsleep(vcc),
.o(\clk~input_o ));
// synopsys translate_off
defparam \clk~input .bus_hold = "false";
defparam \clk~input .listen_to_nsleep_signal = "false";
defparam \clk~input .simulate_z_as = "z";
// synopsys translate_on
// Location: IOIBUF_X18_Y6_N22
fiftyfivenm_io_ibuf \d~input (
.i(d),
.ibar(gnd),
.nsleep(vcc),
.o(\d~input_o ));
// synopsys translate_off
defparam \d~input .bus_hold = "false";
defparam \d~input .listen_to_nsleep_signal = "false";
defparam \d~input .simulate_z_as = "z";
// synopsys translate_on
// Location: IOIBUF_X18_Y4_N22
fiftyfivenm_io_ibuf \rst~input (
.i(rst),
.ibar(gnd),
.nsleep(vcc),
.o(\rst~input_o ));
// synopsys translate_off
defparam \rst~input .bus_hold = "false";
defparam \rst~input .listen_to_nsleep_signal = "false";
defparam \rst~input .simulate_z_as = "z";
// synopsys translate_on
// Location: LCCOMB_X17_Y5_N8
fiftyfivenm_lcell_comb \q~0 (
// Equation(s):
// \q~0_combout = (\d~input_o & \rst~input_o )
.dataa(\d~input_o ),
.datab(gnd),
.datac(\rst~input_o ),
.datad(gnd),
.cin(gnd),
.combout(\q~0_combout ),
.cout());
// synopsys translate_off
defparam \q~0 .lut_mask = 16'hA0A0;
defparam \q~0 .sum_lutc_input = "datac";
// synopsys translate_on
// Location: LCCOMB_X1_Y5_N8
fiftyfivenm_lcell_comb \q~reg0feeder (
// Equation(s):
// \q~reg0feeder_combout = \q~0_combout
.dataa(gnd),
.datab(gnd),
.datac(gnd),
.datad(\q~0_combout ),
.cin(gnd),
.combout(\q~reg0feeder_combout ),
.cout());
// synopsys translate_off
defparam \q~reg0feeder .lut_mask = 16'hFF00;
defparam \q~reg0feeder .sum_lutc_input = "datac";
// synopsys translate_on
// Location: FF_X1_Y5_N9
dffeas \q~reg0 (
.clk(\clk~input_o ),
.d(\q~reg0feeder_combout ),
.asdata(vcc),
.clrn(vcc),
.aload(gnd),
.sclr(gnd),
.sload(gnd),
.ena(vcc),
.devclrn(devclrn),
.devpor(devpor),
.q(\q~reg0_q ),
.prn(vcc));
// synopsys translate_off
defparam \q~reg0 .is_wysiwyg = "true";
defparam \q~reg0 .power_up = "low";
// 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 q = \q~output_o ;
assign qb = \qb~output_o ;
endmodule
module hard_block (
devpor,
devclrn,
devoe);
// Design Ports Information
// ~ALTERA_TMS~ => Location: PIN_G1, I/O Standard: 3.3 V Schmitt Trigger, Current Strength: Default
// ~ALTERA_TCK~ => Location: PIN_J1, I/O Standard: 3.3 V Schmitt Trigger, Current Strength: Default
// ~ALTERA_TDI~ => Location: PIN_H5, I/O Standard: 3.3 V Schmitt Trigger, Current Strength: Default
// ~ALTERA_TDO~ => Location: PIN_H4, I/O Standard: 3.3-V LVCMOS, Current Strength: Default
// ~ALTERA_nCONFIG~ => Location: PIN_E8, I/O Standard: 3.3 V Schmitt Trigger, Current Strength: Default
// ~ALTERA_nSTATUS~ => Location: PIN_D6, I/O Standard: 3.3 V Schmitt Trigger, Current Strength: Default
// ~ALTERA_CONF_DONE~ => Location: PIN_E6, I/O Standard: 3.3 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