s3c2410_mod.bsd
来自「深圳市微逻辑电子有限公司 巨果• Kingmos® 系统核心」· BSD 代码 · 共 640 行 · 第 1/3 页
BSD
640 行
entity S3C2410 is generic (PHYSICAL_PIN_MAP : string := "Unknown"); port ( PnRESET :in bit; PXTipll :in bit; PEXTCLK :in bit; PnWAIT :in bit; PAVref :in bit; PnTRST :in bit; PTDI :in bit; PTMS :in bit; PTCK :in bit; PBATT_FLT :in bit; PUPLLCAP :in bit; PMPLLCAP :in bit; PXTirtc :in bit; PXTortc :in bit; PNCON :in bit_vector(0 to 1); PAIN :in bit_vector(0 to 7); POM :in bit_vector(0 to 3); PDATA :inout bit_vector(0 to 31); PTOUT :inout bit_vector(0 to 3); PTCLK0 :inout bit; PnXBACK :inout bit; PnXBREQ :inout bit; PnXDACK :inout bit_vector(0 to 1); PnXDREQ :inout bit_vector(0 to 1); PLEND :inout bit; PVCLK :inout bit; PVLINE :inout bit; PVFRAME :inout bit; PVM :inout bit; PLCDVF :inout bit_vector(0 to 2); PVD :inout bit_vector(0 to 23); PI2SLRCK :inout bit; PI2SSCLK :inout bit; PCDCLK :inout bit; PI2SDI :inout bit; PI2SDO :inout bit; PSDCLK :inout bit; PSDCMD :inout bit; PSDDAT :inout bit_vector(0 to 3); PSPIMISO :inout bit; PSPIMOSI :inout bit; PSPICLK :inout bit; PIICSCL :inout bit; PIICSDA :inout bit; PEINT :inout bit_vector(0 to 23); PDP :inout bit_vector(0 to 1); PDN :inout bit_vector(0 to 1); PnCTS0 :inout bit; PnRTS0 :inout bit; PTXD :inout bit_vector(0 to 2); PRXD :inout bit_vector(0 to 2); PUARTCLK :inout bit; PCLKOUT :inout bit_vector(0 to 1); PXTopll :out bit; PnRSTOUT :out bit; PPWREN :out bit; PnFCE :out bit; PnFRE :out bit; PnFWE :out bit; PALE :out bit; PCLE :out bit; PnGCS :out bit_vector(0 to 7); PSCLK :out bit_vector(0 to 1); PnSRAS :out bit; PnSCAS :out bit; PSCKE :out bit; PnWE :out bit; PnOE :out bit; PnBE :out bit_vector(0 to 3); PADDR :out bit_vector(0 to 26); PTDO :out bit ); use STD_1149_1_1994.all; attribute COMPONENT_CONFORMANCE of S3C2410 : entity is "STD_1149_1_1993"; attribute PIN_MAP of S3C2410 : entity is PHYSICAL_PIN_MAP;-- Note 1:-- Insert pin-map strings for different packages here.-- An example pin-map string for this design is shown below:-- constant Unknown : PIN_MAP_STRING :=-- "PTOUT:(16, 17, 18, 19)," &-- "PTCLK0:20," &-- "PnXBACK:21," &-- "PnXBREQ:22," &-- "PnXDACK:(28, 23)," &-- "PnXDREQ:(29, 27)," &-- "PnTRST:30," &-- "PTCK:31," &-- "PTDI:32," &-- "PTMS:33," &-- "PTDO:34," &-- "PLEND:35," &-- "PVCLK:36," &-- "PVLINE:37," &-- "PVM:40," &-- "PVFRAME:41," &-- "PVDDOP42:42," &-- "PVSSOP43:43," &-- "PLCDVF:(44, 45, 46)," &-- "PVD(47, 48, 49, 50, 53, 54, 55, 56, 57, 58, 59, 60, 61, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74)," &-- "PDATA:(246, 247, 248, 249, 250, 251, 252, 253, 256, 257, 258, 259, 260, 261, 262, 263, 268, 269, 270, 271, 272, 1, 2, 3, 6, 7, 8, 9, 10, 11, 12, 13)," &-- "PI2SLRCK:79," &-- "PI2SSCLK:80," &-- "PCDCLK:81," &-- "PI2SDI:82," &-- "PI2SDO:83," &-- "PSDCLK:84," &-- "PSDCMD:85," &-- "PSDDAT:(86, 87, 88, 89)," &-- "PSPIMISO:90," &-- "PSPIMOSI:91," &-- "PSPICLK:92," &-- "PIICSCL:95," &-- "PIICSDA:96," &-- "PEINT:(151, 152, 153, 154, 155, 156, 157, 158, 97, 98, 99, 100, 101, 102, 103, 108, 109, 110, 111, 112, 113, 114, 115, 116)," &-- "PCLKOUT:(117, 118)," &-- "PDP:(121, 119)," &-- "PDN:(120, 122)," &-- "PNCON:(124, 123)," &-- "POM:(128, 127, 126, 125)," &-- "PAVref:131," &-- "PAIN:(132, 133, 134, 135, 136, 137, 138, 139)," &-- "VSSAADC130:130," &-- "VDDAADC140:140," &-- "PXTortc:141," &-- "PXTirtc:142," &-- "VDDRTC143:143," &-- "PMPLLCAP:146," &-- "PUPLLCAP:149," &-- "PUARTCLK:159," &-- "PnCTS0:160," &-- "PnRTS0:161," &-- "PTXD:(162, 164, 166)," &-- "PRXD:(163, 165, 167)," &-- "PBATT_FLT:168," &-- "PnRSTOUT:169," &-- "PPWREN:170," &-- "PnRESET:171," &-- "PEXTCLK:173," &-- "PXTipll:175," &-- "PXTopll:176," &-- "PnFCE:180," &-- "PnFRE:181," &-- "PnFWE:182," &-- "PALE:183," &-- "PCLE:184," &-- "PnWAIT:185," &-- "PnGCS:(193, 192, 191, 190, 189, 188, 187, 186)," &-- "PSCKE:194," &-- "PSCLK:(198, 196)," &-- "PnWE:200," &-- "PnOE:201," &-- "PnBE:(202, 203, 204, 205)," &-- "PnSRAS:206," &-- "PnSCAS:207," &-- "PADDR:(210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 222, 223, 226, 227, 228, 229, 230, 231, 233, 234, 235, 236, 237, 238, 239, 240, 241)," &-- "VDD:(5, 24, 25, 38, 51, 62, 75, 77, 93, 105, 106, 144, 147, 150, 172, 174, 179, 197, 208, 221, 224, 242, 244, 254, 264, 266)," &-- "VSS:(4, 14, 15, 26, 39, 52, 63, 76, 78, 94, 104, 107, 129, 145, 148, 177, 178, 195, 199, 209, 220, 225, 232, 243, 245, 255, 265, 267)"; attribute TAP_SCAN_IN of PTDI : signal is true; attribute TAP_SCAN_MODE of PTMS : signal is true; attribute TAP_SCAN_OUT of PTDO : signal is true;-- Note 2:-- Uncomment TAP_SCAN_CLOCK attribute below, and insert-- maximum operating frequency of PTCK in Hertz.-- attribute TAP_SCAN_CLOCK of PTCK : signal is (1.0e6, BOTH); attribute TAP_SCAN_RESET of PnTRST : signal is true; attribute COMPLIANCE_PATTERNS of S3C2410 : entity is "(POM[0], POM[1], POM[2], POM[3]) (0100)"; attribute INSTRUCTION_LENGTH of S3C2410 : entity is 4; attribute INSTRUCTION_OPCODE of S3C2410 : entity is "BYPASS (1111)," & "SAMPLE (0011)," & "EXTEST (0000)," & "IDCODE (1110)"; attribute INSTRUCTION_CAPTURE of S3C2410 : entity is "0001"; attribute IDCODE_REGISTER of S3C2410 : entity is "0000" & -- version "0000001100100100" & -- part number "00001001110" & -- manufacturer's identity "1"; -- required by 1149.1 attribute REGISTER_ACCESS of S3C2410 : entity is "Bypass (BYPASS)," & "Boundary (SAMPLE, EXTEST)," & "Device_ID (IDCODE)"; attribute BOUNDARY_LENGTH of S3C2410 : entity is 427; attribute BOUNDARY_REGISTER of S3C2410 : entity is -- -- num cell port function safe [ccell disval rslt] -- "426 (BC_4, PLEND, input, X)," & "425 (BC_1, *, control, 1)," & "424 (BC_1, PLEND, output3, X, 425, 1, Z)," & "423 (BC_4, PVCLK, observe_only, X)," &
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?