mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-23 22:33:41 +00:00
Moved some stuff to kernel/yosys.{h,cc}, using Yosys:: namespace
This commit is contained in:
parent
1202f7aa4b
commit
1cb25c05b3
41 changed files with 790 additions and 665 deletions
|
@ -17,7 +17,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "kernel/register.h"
|
||||
#include "kernel/yosys.h"
|
||||
#include "kernel/sigtools.h"
|
||||
#include "kernel/log.h"
|
||||
#include <unistd.h>
|
||||
|
@ -26,6 +26,8 @@
|
|||
#include <string.h>
|
||||
#include <dirent.h>
|
||||
|
||||
USING_YOSYS_NAMESPACE
|
||||
|
||||
#ifdef YOSYS_ENABLE_VERIFIC
|
||||
|
||||
#pragma clang diagnostic push
|
||||
|
@ -768,6 +770,8 @@ static void import_netlist(RTLIL::Design *design, Netlist *nl, std::set<Netlist*
|
|||
|
||||
#endif /* YOSYS_ENABLE_VERIFIC */
|
||||
|
||||
YOSYS_NAMESPACE_BEGIN
|
||||
|
||||
struct VerificPass : public Pass {
|
||||
VerificPass() : Pass("verific", "load Verilog and VHDL designs using Verific") { }
|
||||
virtual void help()
|
||||
|
@ -945,3 +949,5 @@ struct VerificPass : public Pass {
|
|||
#endif
|
||||
} VerificPass;
|
||||
|
||||
YOSYS_NAMESPACE_END
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue