mirror of
https://github.com/Minres/RISCV-VP.git
synced 2025-12-17 08:51:35 +00:00
fixes clang-format handling and applies clang-fomrat changes
This commit is contained in:
@@ -11,13 +11,13 @@ namespace tgc_vp {
|
||||
|
||||
class rst_gen : public sc_core::sc_module {
|
||||
SC_HAS_PROCESS(rst_gen);
|
||||
|
||||
public:
|
||||
rst_gen(sc_core::sc_module_name const& nm) {
|
||||
SC_THREAD(run);
|
||||
}
|
||||
rst_gen(sc_core::sc_module_name const& nm) { SC_THREAD(run); }
|
||||
sc_core::sc_out<bool> rst_n{"rst_n"};
|
||||
|
||||
private:
|
||||
void run(){
|
||||
void run() {
|
||||
rst_n.write(false);
|
||||
wait(100_ns);
|
||||
rst_n.write(true);
|
||||
|
||||
Reference in New Issue
Block a user