# INFO: 440 ns --------------------------------------------------------- # INFO: 440 ns Unlocking the BFM shared memory for initialization... # INFO: 440 ns # INFO: 440 ns Performing the basic configuration of the Root Port... # INFO: 440 ns # INFO: 464 ns Completed initial configuration of Root Port. # INFO: 464 ns --------------------------------------------------------- # INFO: 464 ns # INFO: 3661 ns RP LTSSM State: DETECT.ACTIVE # INFO: 3693 ns RP LTSSM State: POLLING.ACTIVE # INFO: 5857 ns EP LTSSM State: DETECT.ACTIVE # INFO: 6017 ns EP LTSSM State: POLLING.ACTIVE # INFO: 8257 ns EP LTSSM State: POLLING.CONFIG # INFO: 8509 ns RP LTSSM State: POLLING.CONFIG # INFO: 9677 ns RP LTSSM State: CONFIG.LINKWIDTH.START # INFO: 10049 ns EP LTSSM State: CONFIG.LINKWIDTH.START # INFO: 10369 ns EP LTSSM State: CONFIG.LINKWIDTH.ACCEPT # INFO: 10829 ns RP LTSSM State: CONFIG.LINKWIDTH.ACCEPT # INFO: 11085 ns RP LTSSM State: CONFIG.LANENUM.WAIT # INFO: 11681 ns EP LTSSM State: CONFIG.LANENUM.WAIT # INFO: 12001 ns EP LTSSM State: CONFIG.LANENUM.ACCEPT # INFO: 12045 ns RP LTSSM State: CONFIG.LANENUM.ACCEPT # INFO: 12237 ns RP LTSSM State: CONFIG.COMPLETE # INFO: 12769 ns EP LTSSM State: CONFIG.COMPLETE # INFO: 13985 ns EP LTSSM State: CONFIG.IDLE # INFO: 14173 ns RP LTSSM State: CONFIG.IDLE # INFO: 14269 ns RP LTSSM State: L0 # INFO: 14625 ns EP LTSSM State: L0 # INFO: 16840 ns # INFO: 16840 ns Configuring Bus 001, Device 001, Function 00 # INFO: 16840 ns EP Read Only Configuration Registers: # INFO: 16840 ns Vendor ID: 1172 # INFO: 16840 ns Device ID: E001 # INFO: 16840 ns Revision ID: 01 # INFO: 16840 ns Class Code: FF0000 # INFO: 16840 ns Subsystem Vendor ID: 1172 # INFO: 16840 ns Subsystem ID: E001 # INFO: 16840 ns Interrupt Pin: INTA# used # INFO: 16840 ns # INFO: 18104 ns PCI MSI Capability Register: # INFO: 18104 ns 64-Bit Address Capable: Supported # INFO: 18104 ns Messages Requested: 4 # INFO: 18104 ns # INFO: 24472 ns EP PCI Express Link Status Register (1081): # INFO: 24472 ns Negotiated Link Width: x8 # INFO: 24472 ns Slot Clock Config: System Reference Clock Used # INFO: 25809 ns RP LTSSM State: RECOVERY.RCVRLOCK # INFO: 26529 ns EP LTSSM State: RECOVERY.RCVRLOCK # INFO: 27169 ns EP LTSSM State: RECOVERY.RCVRCFG # INFO: 27361 ns RP LTSSM State: RECOVERY.RCVRCFG # INFO: 28593 ns RP LTSSM State: RECOVERY.IDLE # INFO: 28897 ns EP LTSSM State: RECOVERY.IDLE # INFO: 29089 ns EP LTSSM State: L0 # INFO: 29169 ns RP LTSSM State: L0 # INFO: 30424 ns Current Link Speed: 2.5GT/s # INFO: 30424 ns # INFO: 31688 ns EP PCI Express Link Control Register (0040): # INFO: 31688 ns Common Clock Config: System Reference Clock Used # INFO: 31688 ns # INFO: 33240 ns # INFO: 33240 ns EP PCI Express Capabilities Register (0002): # INFO: 33240 ns Capability Version: 2 # INFO: 33240 ns Port Type: Native Endpoint # INFO: 33240 ns # INFO: 33240 ns EP PCI Express Device Capabilities Register (10008001): # INFO: 33240 ns Max Payload Supported: 256 Bytes # INFO: 33240 ns Extended Tag: Not Supported # INFO: 33240 ns Acceptable L0s Latency: Less Than 64 ns # INFO: 33240 ns Acceptable L1 Latency: Less Than 1 us # INFO: 33240 ns Attention Button: Not Present # INFO: 33240 ns Attention Indicator: Not Present # INFO: 33240 ns Power Indicator: Not Present # INFO: 33240 ns # INFO: 33240 ns EP PCI Express Link Capabilities Register (01006481): # INFO: 33240 ns Maximum Link Width: x8 # INFO: 33240 ns Supported Link Speed: 2.5GT/s # INFO: 33240 ns L0s Entry: Supported # INFO: 33240 ns L1 Entry: Not Supported # INFO: 33240 ns L0s Exit Latency: 2 us to 4 us # INFO: 33240 ns L1 Exit Latency: Less Than 1 us # INFO: 33240 ns Port Number: 01 # INFO: 33240 ns Surprise Dwn Err Report: Not Supported # INFO: 33240 ns DLL Link Active Report: Not Supported # INFO: 33240 ns # INFO: 33240 ns EP PCI Express Device Capabilities 2 Register (0010001F): # INFO: 33240 ns Completion Timeout Rnge: ABCD (50us to 64s) # INFO: 34584 ns # INFO: 34584 ns EP PCI Express Device Control Register (1030): # INFO: 34584 ns Error Reporting Enables: 0 # INFO: 34584 ns Relaxed Ordering: Enabled # INFO: 34584 ns Max Payload: 256 Bytes # INFO: 34584 ns Extended Tag: Disabled # INFO: 34584 ns Max Read Request: 256 Bytes # INFO: 34584 ns # INFO: 34584 ns EP PCI Express Device Status Register (0000): # INFO: 34584 ns # INFO: 35848 ns EP PCI Express Virtual Channel Capability: # INFO: 35848 ns Virtual Channel: 1 # INFO: 35848 ns Low Priority VC: 0 # INFO: 35848 ns # INFO: 35848 ns # INFO: 35848 ns CONFIGURING THE ROOT PORT AND ENDPOINT CONFIGURATION SPACES # INFO: 35848 ns --------------------------------------------------------- # INFO: 35848 ns Clearing the last bit of the ROMBAR which is the enable bit... # INFO: 37128 ns ----------------------------------------------------------- # INFO: 37128 ns Data in Header Type Field configuration register is (0) # INFO: 37128 ns (0) indicates a non-bridge function and a single function device. # INFO: 37128 ns ----------------------------------------------------------- # INFO: 37128 ns # INFO: 37128 ns # INFO: 37128 ns Starting write/reads to/from configuration registers to determine the sizes of the BARs. # INFO: 37128 ns Writing to configuration registers... # INFO: 37128 ns ----------------------------------------------------------- # INFO: 37128 ns maxbar = 9 and rombar = 12 # INFO: 38408 ns Writing (FFFFFFFF) from BFM shared memory address (001FFFC0) # INFO: 38408 ns to configuration register address (10) # INFO: 39688 ns Writing (FFFFFFFF) from BFM shared memory address (001FFFC4) # INFO: 39688 ns to configuration register address (14) # INFO: 40968 ns Writing (FFFFFFFF) from BFM shared memory address (001FFFC8) # INFO: 40968 ns to configuration register address (18) # INFO: 42216 ns Writing (FFFFFFFF) from BFM shared memory address (001FFFCC) # INFO: 42216 ns to configuration register address (1C) # INFO: 43464 ns Writing (FFFFFFFF) from BFM shared memory address (001FFFD0) # INFO: 43464 ns to configuration register address (20) # INFO: 44712 ns Writing (FFFFFFFF) from BFM shared memory address (001FFFD4) # INFO: 44712 ns to configuration register address (24) # INFO: 45960 ns Writing (FFFFFFFE) from BFM shared memory addr (001FFFD8) # INFO: 45960 ns to configuration register address (30) # INFO: 45960 ns ----------------------------------------------------------- # INFO: 45960 ns # INFO: 45960 ns Reading from configuration registers... # INFO: 45960 ns ----------------------------------------------------------- # INFO: 47224 ns Data @ configuration register address (10) is (F000000C) # INFO: 48488 ns Data @ configuration register address (14) is (FFFFFFFF) # INFO: 49752 ns Data @ configuration register address (18) is (FFFFFC00) # INFO: 51016 ns Data @ configuration register address (1C) is (00000000) # INFO: 52296 ns Data @ configuration register address (20) is (00000000) # INFO: 53576 ns Data @ configuration register address (24) is (00000000) # INFO: 54856 ns Data @ configuration register address (30) is (00000000) # INFO: 54856 ns ----------------------------------------------------------- # INFO: 54856 ns # INFO: 54856 ns Loading each bar into the local BAR array # INFO: 54856 ns and finding the Least Significant Writable Bit (LSWB) in each BAR # INFO: 54856 ns # INFO: 54856 ns ----------------------------------------------------------- # INFO: 54856 ns BAR # 0 = 64-bit BAR # INFO: 54856 ns BAR # 1 LSWB = 64 # INFO: 54856 ns Finding the LSWB for BAR # 0 # INFO: 54856 ns BAR # 0 LSWB = 28 # INFO: 54856 ns BAR # 2 is a 32-bit BAR # INFO: 54856 ns Finding the LSWB for BAR # 2 # INFO: 54856 ns BAR # 2 LSWB = 10 # INFO: 54856 ns BAR # 3 does not exist. # INFO: 54856 ns BAR # 4 does not exist. # INFO: 54856 ns BAR # 5 does not exist. # INFO: 54856 ns BAR # 6 does not exist. # INFO: 54856 ns ----------------------------------------------------------- # INFO: 54856 ns # INFO: 54856 ns Sorting the BARS in order from smallest to largest # INFO: 54856 ns ----------------------------------------------------------- # INFO: 54856 ns 1st BAR = BAR # 2 # INFO: 54856 ns 2nd BAR = BAR # 0 # INFO: 54856 ns 3rd BAR = BAR # 1 # INFO: 54856 ns 4th BAR = BAR # 3 # INFO: 54856 ns 5th BAR = BAR # 4 # INFO: 54856 ns 6th BAR = BAR # 5 # INFO: 54856 ns 7th BAR = BAR # 6 # INFO: 54856 ns ----------------------------------------------------------- # INFO: 54856 ns # INFO: 54856 ns I/O BARs: Determine the size of the I/O block required and set the start address # INFO: 54856 ns ----------------------------------------------------------- # INFO: 54856 ns Completed: The rest of the BARs are not I/O BARS # INFO: 54856 ns ----------------------------------------------------------- # INFO: 54856 ns # INFO: 54856 ns 32-bit Non-Prefetchable BARs: Determine size of the memory required and the start address # INFO: 54856 ns ----------------------------------------------------------- # INFO: 54856 ns BAR # 2 sized. # INFO: 54856 ns Completed: The rest of the BARs are not 32-bit prefetchable. # INFO: 54856 ns ----------------------------------------------------------- # INFO: 54856 ns # INFO: 54856 ns 32-bit Prefetchable BARs (and 64-bit Prefetchable BARs if addr_map_4GB_limit is set): # INFO: 54856 ns determining size of the memory required and the start address # INFO: 54856 ns ----------------------------------------------------------- # INFO: 54856 ns Completed: The rest of the BARs are not 32-bit prefetchable # INFO: 54856 ns ----------------------------------------------------------- # INFO: 54856 ns # INFO: 54856 ns 64-bit Prefetchable BARs, Smallest to Largest, if addr_map_4GB_limit is not set: # INFO: 54856 ns determining size of the memory required and the start address # INFO: 54856 ns ----------------------------------------------------------- # INFO: 54856 ns BAR # 0 sized. # INFO: 54856 ns Completed: The rest of the BARs are not 64-bit prefetchable # INFO: 54856 ns ----------------------------------------------------------- # INFO: 54856 ns # INFO: 54856 ns Now put all of the BAR address locations back into BFM shared memory... # INFO: 54856 ns # INFO: 54856 ns # INFO: 54856 ns BAR Address Assignments: # INFO: 54856 ns BAR Size Assigned Address Type # INFO: 54856 ns --- ---- ---------------- # INFO: 54856 ns BAR1:0 256 MBytes 00000001 00000000 Prefetchable # INFO: 54856 ns BAR2 1 KBytes 00200000 Non-Prefetchable # INFO: 54856 ns BAR3 Disabled # INFO: 54856 ns BAR4 Disabled # INFO: 54856 ns BAR5 Disabled # INFO: 54856 ns ExpROM Disabled # INFO: 56584 ns # INFO: 56584 ns COMPLETED CONFIGURATION OF THE ENDPOINT BARS # INFO: 56584 ns --------------------------------------------------------- # INFO: 56584 ns # INFO: 59192 ns BEGINNING CONFIGURATION REGISTER READS/WRITES # INFO: 59192 ns --------------------------------------------------------- # INFO: 60440 ns --------------------------------------------------------- # INFO: 60440 ns EP PCI Express Link Capabilities Register contents: (01006481): # INFO: 60440 ns --------------------------------------------------------- # INFO: 61704 ns --------------------------------------------------------- # INFO: 61704 ns EP PCI Express Link Status Register contents: (1081): # INFO: 61704 ns --------------------------------------------------------- # INFO: 62968 ns --------------------------------------------------------- # INFO: 62968 ns Original EP PCI Express Link Control Register contents: (0040): # INFO: 62968 ns --------------------------------------------------------- # INFO: 62968 ns --------------------------------------------------------- # INFO: 62968 ns Writing a '1' to the Retain Link bit (bit 5) of the Link Control Register # INFO: 63025 ns RP LTSSM State: RECOVERY.RCVRLOCK # INFO: 63841 ns EP LTSSM State: RECOVERY.RCVRLOCK # INFO: 64545 ns EP LTSSM State: RECOVERY.RCVRCFG # INFO: 64641 ns RP LTSSM State: RECOVERY.RCVRCFG # INFO: 65937 ns RP LTSSM State: RECOVERY.IDLE # INFO: 66241 ns EP LTSSM State: RECOVERY.IDLE # INFO: 66433 ns EP LTSSM State: L0 # INFO: 66513 ns RP LTSSM State: L0 # INFO: 67768 ns --------------------------------------------------------- # INFO: 67768 ns # INFO: 67768 ns COMPLETED CONFIGURATION REGISTER READS/WRITES # INFO: 67768 ns --------------------------------------------------------- # INFO: 67768 ns # INFO: 67768 ns BEGINNING DOWNSTREAM MEMORY READS/WRITES # INFO: 67768 ns --------------------------------------------------------- # INFO: 67768 ns # INFO: 67768 ns # INFO: 67768 ns Writing (22221111) to BAR #0 with address (001FFFC0) # INFO: 69224 ns Read (22221111) from BAR #0 with address (001FFFC0) # INFO: 69224 ns # INFO: 69224 ns Passed: 0004 same bytes in BFM mem addr 0x00000040 and 0x00000840 # INFO: 69224 ns # INFO: 69224 ns COMPLETED DOWNSTREAM MEMORY READS/WRITES # INFO: 69224 ns --------------------------------------------------------- # INFO: 69224 ns # SUCCESS: Simulation stopped due to successful completion!