Commit Graph

89 Commits

Author SHA1 Message Date
Greek
7ccf850adc Testbench Code Refactoring 2021-03-02 17:36:07 +01:00
Greek
a9eb56d6e5 Change HC Operation Handshake Behaviour 2021-03-02 13:57:22 +01:00
Greek
b5206f66f1 Update Inline QoS Generation related Testbench Code 2021-03-02 13:53:12 +01:00
Greek
c9f0d70979 Add Test1 of RTPS Writer
Test metatraffic behaviour of RTPS Writer.
Compiling and Passing.
2021-02-26 14:39:53 +01:00
Greek
268e166b4f Update Cache Change Generation related Testbench Code
Remove littleEndian from Cache Change, and add it as explicit parameter
to inline-QoS Generator functions.
2021-02-26 14:39:53 +01:00
Greek
597edb5f94 Add test 4 of RTPS Reader (Level 1)
Check the output handling (ACKNACK Response) of the RTPS Reader.
Compiling and Passing
2021-02-26 14:39:43 +01:00
Greek
260acba5b6 Add test 3 of RTPS Reader
Test Liveliness Handling of RTPS Reader.
Test 2 expanded with extra case for Little Endian Handling.
Compiling and Passing
2021-02-22 12:16:47 +01:00
Greek
0f7750bd5a Expanded test 1 and test 2 of RTPS Reader with different Generics
Tests are added for different Generics Settings (Durability,
Reliability, Keyed Topic).
Test 2 of RTPS Reader (User Tarffic Handling) is extended with a few
extra test cases.
2021-02-21 15:20:27 +01:00
Greek
4530688c8b Add test 2 of RTPS Reader
Test user traffic handling (DATA, HEARTBEAT, GAP).
Compiling and Passing
2021-02-21 00:02:22 +01:00
Greek
9f8887e8c5 Testbench wide input_prc fix 2021-02-20 14:08:19 +01:00
Greek
1dc1d89f98 Add Test1 of RTPS Reader
Test metatraffic behaviour of RTPS Reader.
Compiling and Passing.
2021-02-20 14:08:06 +01:00
Greek
52bd4053d1 Add mem_ctrl Level 0 Test 1
mem_ctrl fixed and testbench implemented
2021-02-17 14:01:49 +01:00
Greek
7244fffacd Memory Size of rtps_builtin_endpoint made Generic
Each Entity that contains a memory will have an independent size
generic. The testbench was modified to accomodate different RAM memory
sizes. This in effect makes all Memory related stuff pre-entity
dependant. The rtps_test_package needs updated Frame Sizes for the Tests
to work properly.
2021-02-17 10:51:57 +01:00
Greek
bfdc366273 Modify Endpoint Match Frame, Fix Test Suite
The reader falgs (Expects In-line QoS, Expects Historical Data, Is Best
Effort) of the remote reader is transfered in the Metatraffic Endpoint
Match Frame.
The Level 1 rtps_builtin_endpoint test was also fixed.
2021-02-15 13:50:48 +01:00
Greek
9ff39c6fea Remove HIGHEST_AVAILABLE_SN from local endpoint buffer 2021-01-11 18:45:37 +01:00
Greek
3566eb1282 * Added rtps_builting_endpoint_test7
- Compiling and Passing
2020-12-06 23:55:28 +01:00
Greek
b9dff6bd71 * General Testbench Update
- Change Testbench naming Convention (File and Internal)
	- Remove Component declarations and use direct instantiating
* Add more static generated SLVs in rtps_config_package
2020-12-06 19:32:40 +01:00
Greek
929fbe5c80 * Update rtps_builtin_endpoint_test7
- Add participant Announcement check
* bug Fix in rtps_config_package
	- Fix Participant Announcement Generation
2020-12-06 18:25:19 +01:00
Greek
0f50e66942 * Add FWFT FIFO
* Added rtps_builtin_endpoint_test7 Level 1 testbench
	- Compiling and Passing
* Various Bug Fixes in rtps_builtin_endpoint
2020-12-06 17:26:15 +01:00
Greek
035ff837b0 * Add rtps_builtin_endpoint_test6
- Compiling and Passing
* Bug Fix in rtps_builtin_endpoint to make testbench pass
2020-12-03 12:56:37 +01:00
Greek
0ae131189b * partly revert commit ec4d44c
- Re-add max_participant_addr to prevent iterating through the whole memory area unnecessarily
	- Pointer points to last occuoied participant frame
2020-12-02 20:06:04 +01:00
Greek
e18c6e15ce * Bug fix input_prc of testbenches
- packet_sent signal of by one cycle
* Bug fix in rtps_handler
	- Exit condition of Gap Parsing
2020-12-02 17:02:13 +01:00
Greek
f8debfb086 * Add rtps_out Entity
- Use round robin to select output from endpoints and generate the expected uniform RTPS system output
* Add rtps_out_test1
	- Compiling and Passing
2020-12-02 14:21:27 +01:00
Greek
c1bb9a7bd2 * Re-design rtps_handler
- Input format is now a decoded UDP Packet (Documented in REF.txt)
	  This allows the whole RTPS system to use universal input and output.
2020-11-30 15:48:47 +01:00
Greek
533b50f0f9 * Added rtps_builtin_endpoint_test5 (Sequence Number Handling)
- Compiling and Passing
2020-11-30 12:52:49 +01:00
Greek
fec81c0b43 * Re-design rtps_builtin_endpoint
- Remove endpoint data from memory. Store only participant data
	- Write PARTICIPANT_UNMATCH_FRAME to all endpoints on remote participant removal
	- Write ENDPOINT_MATCH and ENDPOINT_UNMATCH frames for all remote endpoints
* Update testbenches to accomodate re-design
* Streamline scorboard reference pushing and testbench completion detection
2020-11-29 23:34:28 +01:00
Greek
1812eaa41a * Added rtps_builtin_test4
- Memory Handling
	- Compiling and Passing
2020-11-29 10:28:30 +01:00
Greek
eac58dd183 * rtps_builtin_endpoint in-memory fromat change
- Do not store local endpoint mask of remote endpoints
	- Send MATCH/UNMATCH Frames to all local Endpoinst (Not only previously matched)
2020-11-28 14:37:15 +01:00
Greek
c411cab887 * Added some testbench documentation 2020-11-28 13:19:05 +01:00
Greek
472af656b3 * Added rtps_builtin_endpoint_test3
- Compiling and Passing
2020-11-28 10:12:35 +01:00
Greek
02be7bb0a3 * Update rtps_test_package
- Unify get_loc functions
	- Overload functions with less parameters for defaults
	- Add Parameter Corruption Injection to Participant and Endpoint Data Generators
2020-11-27 12:34:28 +01:00
Greek
e358244578 * Add universal Test Result File for all Testbenches 2020-11-26 18:40:50 +01:00
Greek
32fd1ac31e * Add modelsim.ini File in gitignore
* Small change in rtps_builtin_endpoint_test1
	- Empty Signal was not toggling
* Added rtps_builtin_endpoint_test2
	- Compiling and Passing
* Update rtps_test_package
* Various bug Fixes in rtps_builtin_endpoint
2020-11-26 18:04:59 +01:00
Greek
521e2466f5 * Add new DEFAULT values in packages
* Add test RAM (Used for testbenches)
* Add Data Structures and functions to check memory contents
* Add rtps_builtin_endpoint_test1
	- Compiles and Passes
* Various bug fixes in rtps_builtin_endpoint to Pass testbench
2020-11-23 12:20:05 +01:00
Greek
16bd4558de * rtps_handler
- Handle case where packet end = submessage end (Avoid extra stage switches)
	- Fix last_word_out
	- Fix case where rd and empty are both high (INFO_TS)
* Modify Endpoint Frame format of GAP
	- Add dummy word to avoid complexity
* rtps_handler Testbench
	- Add check for last_word_out
2020-11-21 21:10:26 +01:00
Greek
e624ba4bac * Added rtps_handler_test2
- Complete and Passing
* Added timeout watchdogs
* Switched to OSVVM Logging
* Added Test Config
2020-11-18 11:24:03 +01:00
Greek
9b4a2ed073 * Various Bug Fixes in rtps_handler
* rtps_handler_test1 Complete and Passing
2020-11-17 15:26:20 +01:00
Greek
9c95e58e32 * Added OSVVM Library as Submodule
* Merged stimulus generation procedures to one single procedure
* Integrated OSVVM into testbench
* Generated OSVVM Project Script File
* Various Bug Fixes to compile testbench
2020-11-15 20:34:39 +01:00
Greek
a792cb7d8a * Added testbench package
* First rtps_handler Testbench
NOTE: Not tested/compiled.
2020-11-13 11:52:38 +01:00