BSDL Files Library for JTAG

The only free public library that contains thousands of BSDL (Boundary Scan Description Language) models to use with BScan/JTAG tools

BSDL model: scansta111

-- SCANSTA111

--------------------------------------------------------------------------------

-- Copyright National Semiconductor Corporation 2000

-- 

-- STA111 ScanBridge 2

-- JTB 15 Sept 2000 Orignal 

-- BillA 8 Oct 2000 Added S6 to data register

-- 

-- 

-- National Semiconductor Customer Service Center

-- N. America (800) 272-9959

-- Europe Germany p49 (0) 69 9508 6208

--------------------------------------------------------------------------------

-- Revised Sept 12 02 to add BGA package and change ID code version to 0001...



entity scansta111 is

generic (PHYSICAL_PIN_MAP : string := "UNDEFINED");



port (VCC: linkage bit_vector(2 downto 0);

GND: linkage bit_vector(2 downto 0);

TRSTB,TCKB,TMSB,TDIB: in bit;

TDOB: out bit;

TRISTB,YB,AB: linkage bit;

OE: in bit;

TEST_ENABLE: linkage bit;

-- S6: linkage bit;

S: in bit_vector(6 downto 0);

TDI: linkage bit_vector(2 downto 0);

TDO: linkage bit_vector(2 downto 0);

TRIST: linkage bit_vector(2 downto 0);

LSP_ACTIVE: linkage bit_vector(2 downto 0);

TMS: linkage bit_vector(2 downto 0);

TCK: linkage bit_vector(2 downto 0);

TRST: linkage bit_vector(2 downto 0);

Y: linkage bit_vector(1 downto 0);

A: linkage bit_vector(1 downto 0)

);



use STD_1149_1_1990.all; -- Get Std 1149.1-1990 attributes and definitions



attribute PIN_MAP of scansta111 : entity is PHYSICAL_PIN_MAP;



constant TSSOP_PACKAGE:PIN_MAP_STRING:="VCC:(1,24,35), GND:(25,36,48)," &

"TRSTB:2, TCKB:3, TMSB:4, TDIB:5,TDOB:6,TRISTB:7, YB:8, AB:9, OE:10," &

"TEST_ENABLE:11, S:(18, 17,16,15,14,13,12)," &

"TDI:(19,33,44), TDO:(20,32,43), TRIST:(21,31,42), LSP_ACTIVE:(22,28,39)," &

"TMS:(23,34,45), TCK:(26,37,46), TRST:(27,38,47), Y:(30,41), A:(29,40)";



constant BGA_PACKAGE:PIN_MAP_STRING:="VCC:(A4,E4,E7), GND:(C4,D5,G4)," &

"TRSTB:B3, TCKB:A3, TMSB:B2, TDIB:A2,TDOB:A1,TRISTB:C3, YB:C2, AB:B1, OE:D2," &

"TEST_ENABLE:C1, S:(G1,F1,F2,E1,E2,D1,D3)," &

"TDI:(E3,F7,B5), TDO:(F3,E6,C5), TRIST:(G2,E5,A7), LSP_ACTIVE:(F4,F6,C7)," &

"TMS:(G3,D6,A6), TCK:(F5,D7,B4), TRST:(G5,C6,A5), Y:(G7,B7), A:(G6,B6)";



attribute TAP_SCAN_IN of TDIB : signal is true;

attribute TAP_SCAN_MODE of TMSB : signal is true;

attribute TAP_SCAN_OUT of TDOB : signal is true; 

attribute TAP_SCAN_CLOCK of TCKB : signal is (25.0e6, BOTH);

attribute TAP_SCAN_RESET of TRSTB : signal is true; 



attribute INSTRUCTION_LENGTH of scansta111 : entity is 8;



attribute INSTRUCTION_OPCODE of scansta111 : entity is 

"BYPASS (11111111)," &

"EXTEST (00000000)," &

"SAMPLE (10000001)," &

"IDCODE (10101010)," &

"UNPARK (11100111)," & 

"PARKTLR (11000101)," & 

"PARKRTI (10000100)," & 

"PARKPAUSE (11000110)," & 

"GOTOWAIT (11000011)," & 

"MODESEL (10001110)," &

"MODESEL2 (10000011)," &

"MCGRSEL (00000011)," & 

"SOFTRESET (10001000)," & 

"LFSRSEL (11001001)," & 

"LFSRON (00001100)," & 

"LFSROFF (10001101)," & 

"CNTRSEL (11001110)," & 

"CNTRON (00001111)," & 

"CNTROFF (10010000)," &

"TRANSPR0 (10100000)," &

"TRANSPR1 (10100001)," &

"TRANSPR2 (10100010)," &

"SGPIO0 (10111000)," &

"SGPIO1 (10111001)," &

"SGPIO2 (10111010)";



attribute INSTRUCTION_CAPTURE of scansta111 : entity is "XXXXXX01";



attribute IDCODE_REGISTER of scansta111 : entity is

"0001" & -- Version

"1111110000001111" & -- Part number

"00000001111" & -- Manufacturer Identity

"1"; -- Manditory LSB



attribute REGISTER_ACCESS of scansta111 : entity is 

"IDCODE (UNPARK,PARKTLR,PARKRTI,PARKPAUSE,GOTOWAIT,SOFTRESET,LFSRON," &

"LFSROFF,CNTRON,CNTROFF)," &

"MODE[8] (MODESEL)," &

"MODE2[8] (MODESEL2)," &

"MCGR[2] (MCGRSEL)," &

"LFSR[16] (LFSRSEL)," &

"CNTR[32] (CNTRSEL)," &

"TRANSPR0[8] (TRANSPR0)," &

"TRANSPR1[8] (TRANSPR1)," &

"TRANSPR2[8] (TRANSPR2)," &

"SGPIO0[8] (SGPIO0)," &

"SGPIO1[8] (SGPIO1)," &

"SGPIO2[8] (SGPIO2)";



attribute BOUNDARY_CELLS of scansta111 : entity is "BC_4";

attribute BOUNDARY_LENGTH of scansta111 : entity is 8;



attribute BOUNDARY_REGISTER of scansta111 : entity is 

-- num cell port function safe [ccell disval rslt]

"0 (BC_4, S(0), input, X)," & -- All inputs

"1 (BC_4, S(1), input, X)," &

"2 (BC_4, S(2), input, X)," &

"3 (BC_4, S(3), input, X)," &

"4 (BC_4, S(4), input, X)," &

"5 (BC_4, S(5), input, X)," &

"6 (BC_4, S(6), input, X)," &

"7 (BC_4, OE, input, X)";



end scansta111;