Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SystemVerilog (IEEE 1800-2012) keywords #1436

Merged
merged 3 commits into from
May 1, 2020
Merged

Add SystemVerilog (IEEE 1800-2012) keywords #1436

merged 3 commits into from
May 1, 2020

Conversation

cjdrake
Copy link
Contributor

@cjdrake cjdrake commented May 1, 2020

See Table 22-6 -- IEEE 1800-2012 additional reserved keywords

  • implements
  • interconnect
  • nettype
  • soft

See Table 22-6 -- IEEE 1800-2012 additional reserved keywords

* implements
* interconnect
* nettype
* soft
See IEEE 1800-2017 Chapter 20:
"Utility system tasks and system functions".

20.2 : $exit $stop
20.3 : $realtime $stime $time
20.4 : $printtimescale $timeformat
20.5 : $bitstoreal $realtobits $bitstoshortreal $shortrealtobits $itor $rtoi
       $signed $unsigned $cast
20.6 : $bits $isunbounded $typename
20.7 : $unpacked_dimensions $dimensions $left $right $low $high $increment $size
20.8 : $clog2 $asin $ln $acos $log10 $atan $exp $atan2 $sqrt $hypot $pow $sinh
       $floor $cosh $ceil $tanh $sin $asinh $cos $acosh $tan $atanh
20.9 : $countbits $countones $onehot $onehot0 $isunknown
20.10: $fatal $error $warning $info
20.12: $asserton $assertoff $assertkill $assertcontrol $assertpasson $assertpassoff
       $assertfailon $assertfailoff $assertnonvacuouson $assertvacuousoff
20.13: $sampled $rose $fell $stable $changed $past $past_gclk $rose_gclk $fell_gclk
       $stable_gclk $changed_gclk $future_gclk $rising_gclk $falling_gclk
       $steady_gclk $changing_gclk
20.14: $coverage_control $coverage_get_max $coverage_get $coverage_merge
       $coverage_save $get_coverage $set_coverage_db_name $load_coverage_db
20.15: $dist_chi_square $dist_erlang $dist_exponential $dist_normal
       $dist_poisson $dist_t $dist_uniform
20.16: $q_initialize $q_add $q_remove $q_full $q_exam
20.17: $async$and$array $async$and$plane $async$nand$array $async$nand$plane
       $async$or$array $async$or$plane $async$nor$array $async$nor$plane
       $sync$and$array $sync$and$plane $sync$nand$array $sync$nand$plane
       $sync$or$array $sync$or$plane $sync$nor$array $sync$nor$plane
20.18: $system

Also:
* Replace '$test' '$plusargs' with '$test$plusargs'.
* Add some comments for the remaining system tasks
* Reorganize tasks into sections (w/ comments), according to spec

Rather than just alphabetize this giant list,
separate them into the sections by spec,
then alphabetize within those sections.
Hopefully, this will make it easier to extend in the future.
There is no 'wo' keyword. This was probably supposed to be
'wor', short for "wired OR".
@Anteru Anteru self-assigned this May 1, 2020
@Anteru Anteru added the changelog-update Items which need to get mentioned in the changelog label May 1, 2020
@Anteru Anteru merged commit aeb9e84 into pygments:master May 1, 2020
@Anteru
Copy link
Collaborator

Anteru commented May 1, 2020

Merged, thanks a lot for your contribution!

@Anteru Anteru added this to the 2.7 milestone May 1, 2020
@Anteru Anteru removed the changelog-update Items which need to get mentioned in the changelog label May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants