llvm / llvm/circt

[Moore] The system function like $urandom, $urandom_range, etc.

Open
#7,602 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.2k
Forks
524
Avg merge
3d 2h
Merged PRs (30d)
46

Description

Could anyone provide guidance on how to represent the system function like `$urandom` in the IR? As I am not familiar with Chisel and FIRRTL, I am particularly interested in understanding how `sbt` or the FIRRL parser manages this. Thanks for any help in advance :smile:.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue mentions Chisel, FIRRTL, and sbt but names no files, tests, or entry points. Start by locating the FIRRTL parser and existing handling of system functions, then ask maintainers to confirm the intended IR representation for $urandom and related functions. Done would require an agreed design and corresponding implementation scope.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.