Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C
CTU CAN FD IP Core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 14
    • Issues 14
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • canbus
  • CTU CAN FD IP Core
  • Issues
  • #232

Closed
Open
Opened Jan 06, 2019 by Ille, Ondrej, Ing.@illeondrMaintainer

Add Timestamp support to CAN Testlib

Add support for reading timestamp into CANTest lib.

In: test/lib/CANTestlib.vhd add function: CAN_read_timestamp.

This function will read from TIMESTAMP_LOW_ADR and TIMESTAMP_HIGH_ADR, concatenate the values to one std_logic_vector, and return this vector (as a variable assignment). Since VHDL does not have 64 bit int type, returning as std_logic_vector(63 downto 0) is enough. Also in SW_CAN_Frame_type this is used as timestamp reference.

Also, add proper function header with comments and argument explanation as in the other functions.

This function will be then used by timestamp test.

Edited Jan 09, 2019 by Ille, Ondrej, Ing.
Assignee
Assign to
Test improvements
Milestone
Test improvements
Assign milestone
Time tracking
None
Due date
None
Reference: canbus/ctucanfd_ip_core#232