diff --git a/doc/Working Data/LastCrash.txt b/doc/Working Data/LastCrash.txt new file mode 100644 index 0000000..7782424 --- /dev/null +++ b/doc/Working Data/LastCrash.txt @@ -0,0 +1,27 @@ +Generated on 12/19/2023 11:52:52 + +Crash Message: + + Could not step query. Unexpected SQLite result: Corrupt + (CodeClear.NaturalDocs.Engine.SQLite.Exceptions.UnexpectedResult) + +Stack Trace: + + at CodeClear.NaturalDocs.Engine.SQLite.Query.Step () [0x0002c] in <6c4aae649fee44548beb007d054c6a0e>:0 + at CodeClear.NaturalDocs.Engine.SQLite.Connection.Execute (System.String statement, System.Object[] values) [0x0000f] in <6c4aae649fee44548beb007d054c6a0e>:0 + at CodeClear.NaturalDocs.Engine.CodeDB.Manager.CreateDatabase () [0x000f6] in <6c4aae649fee44548beb007d054c6a0e>:0 + at CodeClear.NaturalDocs.Engine.CodeDB.Manager.Start (CodeClear.NaturalDocs.Engine.Errors.ErrorList errors) [0x000d7] in <6c4aae649fee44548beb007d054c6a0e>:0 + at CodeClear.NaturalDocs.Engine.Instance.Start (CodeClear.NaturalDocs.Engine.Errors.ErrorList errors, CodeClear.NaturalDocs.Engine.Config.ProjectConfig commandLineConfig) [0x000f8] in <6c4aae649fee44548beb007d054c6a0e>:0 + at CodeClear.NaturalDocs.CLI.Application.BuildDocumentation (CodeClear.NaturalDocs.Engine.Errors.ErrorList errorList) [0x0002d] in <95ee6211a68e43a5bffc51f192461eb2>:0 + at CodeClear.NaturalDocs.CLI.Application.Main (System.String[] commandLine) [0x00141] in <95ee6211a68e43a5bffc51f192461eb2>:0 + +Command Line: + + /home/v/tools/ND/NaturalDocs.exe . + +Versions: + + Natural Docs 2.3 + Unix 6.2.0.39 + Mono 6.8.0.105 + SQLite 3.41.2 diff --git a/doc/classes/Python/SVpiVecVal-Summary.js b/doc/classes/Python/SVpiVecVal-Summary.js new file mode 100644 index 0000000..112a6e9 --- /dev/null +++ b/doc/classes/Python/SVpiVecVal-Summary.js @@ -0,0 +1 @@ +NDFramePage.OnPageTitleLoaded("PythonClass:SVpiVecVal","SVpiVecVal");NDSummary.OnSummaryLoaded("PythonClass:SVpiVecVal",[["Python","Python"]],[["Classes","Class"]],[[36,0,0,"SVpiVecVal"]]); \ No newline at end of file diff --git a/doc/classes/Python/SVpiVecVal-SummaryToolTips.js b/doc/classes/Python/SVpiVecVal-SummaryToolTips.js new file mode 100644 index 0000000..3e70690 --- /dev/null +++ b/doc/classes/Python/SVpiVecVal-SummaryToolTips.js @@ -0,0 +1 @@ +NDSummary.OnToolTipsLoaded("PythonClass:SVpiVecVal",{36:"
A ctypes Structure representing a verilog vector aval/bval of 4-state data type,32-bit signed integer LRM 6.11 Integer data types Contains two 32-bit unsigned integers.
bval aval | 4-state verilog value
----------|----------------------
0 0 | 0
0 1 | 1
1 0 | X
1 1 | Z
Python to System Verilog bridge
TODO: shunt_py_tlm_send_command shunt_py_tlm_send_gp_transport shunt_py_tlm_recv_gp_transport shunt_py_tlm_recv_gp_header shunt_py_tlm_send_gp_header shunt_py_tlm_recv_axi3_header shunt_py_tlm_send_axi3_header shunt_py_tlm_recv_gp_data
TODO: shunt_py_send_bitN shunt_py_recv_bitN shunt_py_send_longV shunt_py_recv_longV shunt_py_send_data_header shunt_py_recv_data_header
Not Implemented Features: shunt_py_send_realtime shunt_py_recv_realtime shunt_py_send_shortreal shunt_py_recv_shortreal
TCP/IP target initialization
portno: socket port
hostname: initiator name
socket id
If portno_in = 0 -- assign a free client-server TCP port. SHUNT_DEFAULT_TCP_PORT is reserved for the dynamic allocation of the client-server TCP port.
TCP/IP "one server" | "one target" point-to-point initiator initialization |
portno: socket port
socket id
If portno_in = 0 -- assign a free client-server TCP port. SHUNT_DEFAULT_TCP_PORT is reserved for the dynamic allocation of the client-server TCP port.
Terminates TCP socket
fd: socket id
N/A
Sets TCP socket unblocked mode
- flag: 1/0 | unblocked(default)/blocked - fd: socket id |
N/A
Enable/disable Nagle algorithm (TCP_NODELAY)
- flag: 1/0 | enable/disable Nagle algorithm (TCP_NODELAY) - sockfd: socket id |
N/A
Returns status for <fd> TCP socket <event>
fd: socket id
event: short event - the <event> mask is specifying following
0 - is equal to POLLIN, data is ready to recv()
1 - is equal to POLLOUT, socket can send() data to this socket without blocking
else is equal to POLLNVAL, function returns "process failed" status;
socket event status
"0" - No <event>
"-1" - <event> process has failed
"1" - <event> occurs
Multi-Slave TCP IP initialization, create TCP/IP a parent(listener) and start listening for client connections
portno: socket port
- socket id | parent socket id |
Multi-Slave TCP IP initialization, establish TCP/IP initiator-target connection
- parentfd: socket id | parent socket id |
- socket id | child socket id |
Finds TCP/IP port with the specified socket id
socket: socket id
a corresponding TCP/IP port
Also see shunt_cs_update_dynamic_port
PY equivalent of the shunt_cs_tcp_parent_init_initiator_dp
N/A
- socket id | DPA parent socket id |
Send Verilog "shortint" / C "short int" data over TCP/IP
sockfd: socket id
Short: data
number of bytes have been sent : success > 0
Fetch Verilog "shortint"/C "short int" data from TCP/IP socket
sockfd: socket id
Short: data
number of bytes have been received : success > 0
Short: data
Send Verilog "longint" / C "long" data over TCP/IP
sockfd: socket id
Long: data
number of bytes have been sent : success > 0
Fetch Verilog "longint" / C "long" data from TCP/IP socket
sockfd: socket id
number of bytes have been received : success > 0
Long: data
Send Verilog/C "int" data over TCP/IP
sockfd: socket id
Int: data
number of bytes have been sent : success > 0
Fetch Verilog/C "int" data from TCP/IP socket
sockfd: socket id
number of bytes have been received : success > 0
Int: data
Send Verilog "real"/C "double" data over TCP/IP
sockfd: socket id
Real: data
number of bytes have been sent : success > 0
Fetch Verilog "real"/C "double" data from TCP/IP socket
sockfd: socket id
number of bytes have been sent : success > 0
Real: data
Send Verilog "byte"/C "char" data over TCP/IP
sockfd: socket id
Byte: data
number of bytes have been sent : success = 1
Fetch verilog "byte"/C "char" over TCP/IP
sockfd: socket id
number of bytes have been received: success = 1
Byte - data
Send Verilog "byte"/C "char" data over TCP/IP
sockfd: socket id
Bit: data
number of bytes have been sent : success = 1
Fetch Verilog "byte"/C "char" data from TCP/IP socket
sockfd: socket id
number of bytes have been sent : success = 1
Bit: data
Send Verilog "reg"/C "char" data over TCP/IP
sockfd: socket id
Reg: data
number of bytes have been sent : success = 1
Fetch Verilog "reg"/C "char" data from TCP/IP socket
sockfd: socket id
number of bytes have been sent : success = 1
Reg: data
<shunt_prim_recv_reg>
Send Verilog "byte"/C "char" data over TCP/IP
sockfd: socket id
Logic: data
number of bytes have been sent : success = 1
Fetch Verilog "byte"/C "char" data from TCP/IP socket
sockfd: socket id
number of bytes have been sent : success = 1
Logic: data
Fetch Verilog "reg[31:0] 4 state aval,bval" data from TCP/IP
sockfd: socket id
number of bytes have been received : success > 0
Integer: data
Send Verilog "reg[31:0] 4 state aval,bval" data over TCP/IP
sockfd: socket id
Time: data
number of bytes have been sent : success > 0
Fetch Verilog "reg[31:0] 4 state aval,bval" data from TCP/IP
sockfd: socket id
number of bytes have been received : success > 0
Time: data
Send SHUNT transaction with verilog string/C char* elements over TCP/IP
sockid: socket id
size: number of string elements
string: data
number of elements have been sent : success > 0
Fetch SHUNT transaction with verilog string/C char* elements from TCP/IP
sockid: socket id
size: number of string elements
number of elements have been received: success > 0
String: data
Predefined hash functions for obtaining the specific hash value.
N/A
long: hash value
Predefined hash functions for obtaining the specific hash value.
N/A
long: hash value
Predefined hash functions for obtaining the specific hash value.
N/A
long: hash value
Predefined hash functions for obtaining the specific hash value.
N/A
long: hash value
Predefined hash functions for obtaining the specific hash value.
N/A
long: hash value
Simple hash function.
s: hash key
hash value
hash_key = "example_key" Replace with your hash key hash_value = shunt_dpi_hash(hash_key) print(f"Hash value for key '{hash_key}': {hash_value}")
Send SHUNT header over TCP/IP.
sockid: socket id from init server/target
h: cs_header structure
number of elements have been sent: success > 0
Fetch SHUNT transaction header from TCP/IP socket.
sockid: socket id from init server/target
number of elements have been received: success > 0
h: cs_header structure
A ctypes Structure representing cs_data_header data header. This structure contains fields for transaction payload sizes and data type.
data_type SHUNT_INSTR_ENUM
trnx_payload_sizes array of payload sizes, number of array elements are equal to n_payloads
see cs_header_t
Prints cs_data_header structure.
A ctypes Structure representing cs_header communication protocol. This structure includes fields for transaction type, ID, data type, and number of payloads.
trnx_type user defined transaction attribute
trnx_id user defined unique transaction number
data_type SHUNT_INSTR_ENUM
n_payloads number of data payloads (for Array number of vectors)
see cs_header cs_header_t
Prints cs_header structure.
A ctypes Structure representing cs_data_header data header. This structure contains fields for transaction payload sizes and data type.
data_type SHUNT_INSTR_ENUM
trnx_payload_sizes array of payload sizes, number of array elements are equal to n_payloads
see cs_header_t
Prints cs_data_header structure.
A ctypes Structure representing cs_header communication protocol. This structure includes fields for transaction type, ID, data type, and number of payloads.
trnx_type user defined transaction attribute
trnx_id user defined unique transaction number
data_type SHUNT_INSTR_ENUM
n_payloads number of data payloads (for Array number of vectors)
see cs_header cs_header_t
Prints cs_header structure.
A ctypes Structure representing a verilog vector aval/bval of 4-state data type,32-bit signed integer LRM 6.11 Integer data types Contains two 32-bit unsigned integers.
bval aval | 4-state verilog value
----------|----------------------
0 0 | 0
0 1 | 1
1 0 | X
1 1 | Z
Python to System Verilog bridge
TODO: shunt_py_tlm_send_command shunt_py_tlm_send_gp_transport shunt_py_tlm_recv_gp_transport shunt_py_tlm_recv_gp_header shunt_py_tlm_send_gp_header shunt_py_tlm_recv_axi3_header shunt_py_tlm_send_axi3_header shunt_py_tlm_recv_gp_data
TODO: shunt_py_send_bitN shunt_py_recv_bitN shunt_py_send_longV shunt_py_recv_longV shunt_py_send_data_header shunt_py_recv_data_header
Not Implemented Features: shunt_py_send_realtime shunt_py_recv_realtime shunt_py_send_shortreal shunt_py_recv_shortreal
TCP/IP target initialization
portno: socket port
hostname: initiator name
socket id
If portno_in = 0 -- assign a free client-server TCP port. SHUNT_DEFAULT_TCP_PORT is reserved for the dynamic allocation of the client-server TCP port.
TCP/IP "one server" | "one target" point-to-point initiator initialization |
portno: socket port
socket id
If portno_in = 0 -- assign a free client-server TCP port. SHUNT_DEFAULT_TCP_PORT is reserved for the dynamic allocation of the client-server TCP port.
Terminates TCP socket
fd: socket id
N/A
Sets TCP socket unblocked mode
- flag: 1/0 | unblocked(default)/blocked - fd: socket id |
N/A
Enable/disable Nagle algorithm (TCP_NODELAY)
- flag: 1/0 | enable/disable Nagle algorithm (TCP_NODELAY) - sockfd: socket id |
N/A
Returns status for <fd> TCP socket <event>
fd: socket id
event: short event - the <event> mask is specifying following
0 - is equal to POLLIN, data is ready to recv()
1 - is equal to POLLOUT, socket can send() data to this socket without blocking
else is equal to POLLNVAL, function returns "process failed" status;
socket event status
"0" - No <event>
"-1" - <event> process has failed
"1" - <event> occurs
Multi-Slave TCP IP initialization, create TCP/IP a parent(listener) and start listening for client connections
portno: socket port
- socket id | parent socket id |
Multi-Slave TCP IP initialization, establish TCP/IP initiator-target connection
- parentfd: socket id | parent socket id |
- socket id | child socket id |
Finds TCP/IP port with the specified socket id
socket: socket id
a corresponding TCP/IP port
Also see shunt_cs_update_dynamic_port
PY equivalent of the shunt_cs_tcp_parent_init_initiator_dp
N/A
- socket id | DPA parent socket id |
Send Verilog "shortint" / C "short int" data over TCP/IP
sockfd: socket id
Short: data
number of bytes have been sent : success > 0
Fetch Verilog "shortint"/C "short int" data from TCP/IP socket
sockfd: socket id
Short: data
number of bytes have been received : success > 0
Short: data
Send Verilog "longint" / C "long" data over TCP/IP
sockfd: socket id
Long: data
number of bytes have been sent : success > 0
Fetch Verilog "longint" / C "long" data from TCP/IP socket
sockfd: socket id
number of bytes have been received : success > 0
Long: data
Send Verilog/C "int" data over TCP/IP
sockfd: socket id
Int: data
number of bytes have been sent : success > 0
Fetch Verilog/C "int" data from TCP/IP socket
sockfd: socket id
number of bytes have been received : success > 0
Int: data
Send Verilog "real"/C "double" data over TCP/IP
sockfd: socket id
Real: data
number of bytes have been sent : success > 0
Fetch Verilog "real"/C "double" data from TCP/IP socket
sockfd: socket id
number of bytes have been sent : success > 0
Real: data
Send Verilog "byte"/C "char" data over TCP/IP
sockfd: socket id
Byte: data
number of bytes have been sent : success = 1
Fetch verilog "byte"/C "char" over TCP/IP
sockfd: socket id
number of bytes have been received: success = 1
Byte - data
Send Verilog "byte"/C "char" data over TCP/IP
sockfd: socket id
Bit: data
number of bytes have been sent : success = 1
Fetch Verilog "byte"/C "char" data from TCP/IP socket
sockfd: socket id
number of bytes have been sent : success = 1
Bit: data
Send Verilog "reg"/C "char" data over TCP/IP
sockfd: socket id
Reg: data
number of bytes have been sent : success = 1
Fetch Verilog "reg"/C "char" data from TCP/IP socket
sockfd: socket id
number of bytes have been sent : success = 1
Reg: data
<shunt_prim_recv_reg>
Send Verilog "byte"/C "char" data over TCP/IP
sockfd: socket id
Logic: data
number of bytes have been sent : success = 1
Fetch Verilog "byte"/C "char" data from TCP/IP socket
sockfd: socket id
number of bytes have been sent : success = 1
Logic: data
Fetch Verilog "reg[31:0] 4 state aval,bval" data from TCP/IP
sockfd: socket id
number of bytes have been received : success > 0
Integer: data
Send Verilog "reg[31:0] 4 state aval,bval" data over TCP/IP
sockfd: socket id
Time: data
number of bytes have been sent : success > 0
Fetch Verilog "reg[31:0] 4 state aval,bval" data from TCP/IP
sockfd: socket id
number of bytes have been received : success > 0
Time: data
Send SHUNT transaction with verilog string/C char* elements over TCP/IP
sockid: socket id
size: number of string elements
string: data
number of elements have been sent : success > 0
Fetch SHUNT transaction with verilog string/C char* elements from TCP/IP
sockid: socket id
size: number of string elements
number of elements have been received: success > 0
String: data
Predefined hash functions for obtaining the specific hash value.
N/A
long: hash value
Predefined hash functions for obtaining the specific hash value.
N/A
long: hash value
Predefined hash functions for obtaining the specific hash value.
N/A
long: hash value
Predefined hash functions for obtaining the specific hash value.
N/A
long: hash value
Predefined hash functions for obtaining the specific hash value.
N/A
long: hash value
Simple hash function.
s: hash key
hash value
hash_key = "example_key" Replace with your hash key hash_value = shunt_dpi_hash(hash_key) print(f"Hash value for key '{hash_key}': {hash_value}")
Send SHUNT header over TCP/IP.
sockid: socket id from init server/target
h: cs_header structure
number of elements have been sent: success > 0
Fetch SHUNT transaction header from TCP/IP socket.
sockid: socket id from init server/target
number of elements have been received: success > 0
h: cs_header structure