文章详情

ID: 246
实例类型: faq
分类: Architecture
相关: IO
产品系列: MachXO

搜索答案数据库

Search Text Image

MachXO: How is the TSALL pin used in the MachXO?

Solution:

TSALL is a programmable IO which can be used to Tristate all IOs when asserted. To use TSALL in your design, instantiate the TSALL component as shown below:


TSALL Verilog HDL Example (MachXO)
TSALL   TSALL_INST (.TSALL ());

TSALL VHDL Example (MachXO)
    component TSALL
        port( TSALL: in STD_ULOGIC );
    end component;
    -- Attributes for Synplify
    attribute syn_black_box: boolean ;
    attribute syn_black_box of TSALL: component is true;
    attribute syn_noprune: boolean ;
    attribute syn_noprune of TSALL: component is true;
    -- Attributes for Precision RTL
    attribute BLACK_BOX : boolean;
    attribute BLACK_BOX of TSALL: component is true;
    attribute DONT_TOUCH : boolean;
    attribute DONT_TOUCH of TSALL_INST: label is true;
begin

    TSALL_INST: TSALL port map (TSALL=><global tristate sig>);