📄 a_gray2bin_7cb.tdf
字号:
--a_gray2bin carry_chain="MANUAL" carry_chain_length=48 device_family="Cyclone II" ignore_carry_buffers="OFF" WIDTH=4 bin gray
--VERSION_BEGIN 5.1 cbx_a_gray2bin 2005:04:27:12:26:10:SJ cbx_mgl 2005:10:09:07:39:04:SJ VERSION_END
-- Copyright (C) 1991-2005 Altera Corporation
-- Your use of Altera Corporation's design tools, logic functions
-- and other software and tools, and its AMPP partner logic
-- functions, and any output files 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, Altera MegaCore Function 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
-- applicable agreement for further details.
--synthesis_resources =
SUBDESIGN a_gray2bin_7cb
(
bin[3..0] : output;
gray[3..0] : input;
)
VARIABLE
xor0 : WIRE;
xor1 : WIRE;
xor2 : WIRE;
BEGIN
bin[] = ( gray[3..3], xor2, xor1, xor0);
xor0 = (gray[0..0] $ xor1);
xor1 = (gray[1..1] $ xor2);
xor2 = (gray[3..3] $ gray[2..2]);
END;
--VALID FILE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -