yosys/kernel
Krystine Sherwin 7d8140ddea
kernel/mem: Fix Cygwin compat
Avoid error:
```
kernel/mem.cc:1683:7: error: conflicting declaration ‘using addr_t = using addr_t = uint32_t’
 1683 | using addr_t = MemContents::addr_t;
      |       ^~~~~~
In file included from /usr/include/sys/types.h:222,
                 from /usr/include/pthread.h:11,
                 from /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/x86_64-pc-cygwin/bits/gthr-default.h:35,
                 from /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/x86_64-pc-cygwin/bits/gthr.h:148,
                 from /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/ext/atomicity.h:35,
                 from /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/cow_string.h:37,
                 from /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/basic_string.h:51,
                 from /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/string:53,
                 from ./kernel/yosys_common.h:27,
                 from ./kernel/yosys.h:42,
                 from ./kernel/mem.h:23,
                 from kernel/mem.cc:20:
/usr/include/machine/types.h:63:15: note: previous declaration as ‘typedef char* addr_t’
   63 | typedef char *addr_t;
```

According to IntelliSense, only the return types need to be prefixed with `MemContents::`, the rest are automagically using the class definition and highlight as `using Yosys::MemContents::addr_t = uint32_t`.
2024-12-03 13:15:33 +13:00
..
binding.cc Generate an RTLIL representation of bind constructs 2021-08-13 17:11:35 -06:00
binding.h Generate an RTLIL representation of bind constructs 2021-08-13 17:11:35 -06:00
bitpattern.h rtlil: represent Const strings as std::string 2024-10-14 06:28:12 +02:00
calc.cc rtlil: represent Const strings as std::string 2024-10-14 06:28:12 +02:00
cellaigs.cc Add coarse-grain $buf buffer cell type 2024-09-17 10:46:20 +02:00
cellaigs.h Fixing old e-mail addresses and deadnames 2021-06-08 00:39:36 +02:00
celledges.cc Adjust buf-normalized mode 2024-09-17 10:46:20 +02:00
celledges.h Fixing old e-mail addresses and deadnames 2021-06-08 00:39:36 +02:00
celltypes.h celltypes.h: Add extra properties 2024-10-15 07:23:45 +13:00
compute_graph.h convert class FunctionalIR to a namespace Functional, rename functionalir.h to functional.h, rename functional.h to compute_graph.h 2024-08-21 11:04:08 +01:00
consteval.h rtlil: represent Const strings as std::string 2024-10-14 06:28:12 +02:00
constids.inc read_liberty: Set `area` `capacitance` attributes 2024-11-12 13:26:38 +01:00
cost.cc cost: add model for techmapped cell count, keep_hierarchy pass with -min_cost parameter 2024-07-29 10:26:02 +02:00
cost.h cost: add model for techmapped cell count, keep_hierarchy pass with -min_cost parameter 2024-07-29 10:26:02 +02:00
driver.cc driver: fix special args passing to tcl and python 2024-10-16 23:56:45 +02:00
drivertools.cc rtlil: represent Const strings as std::string 2024-10-14 06:28:12 +02:00
drivertools.h drivertools.h: switch from log_assert(0) to log_abort() for new feature 2024-11-08 10:30:11 -08:00
ff.cc rtlil: represent Const strings as std::string 2024-10-14 06:28:12 +02:00
ff.h ff: improve comments 2024-09-05 11:17:12 +02:00
ffinit.h rtlil: represent Const strings as std::string 2024-10-14 06:28:12 +02:00
ffmerge.cc rtlil: represent Const strings as std::string 2024-10-14 06:28:12 +02:00
ffmerge.h Add new helper class for merging FFs into cells, use for memory_dff. 2021-05-23 14:46:59 +02:00
fmt.cc cxxrtl, fmt: escape double quotes in c strings 2024-11-11 18:49:05 +00:00
fmt.h fmt,cxxrtl: add option to group digits in numbers. 2024-04-02 12:13:22 +02:00
fstdata.cc Merge pull request #4620 from RCoeurjoly/fix-vcd-parsing-ghdl-var-spacing 2024-11-06 16:29:07 +01:00
fstdata.h Start restoring memory state from VCD/FST 2022-05-04 10:41:04 +02:00
functional.cc functional, glift: use fold overload of IdString::in instead of pool literals 2024-11-06 12:48:32 +01:00
functional.h functional: fix std::move usage in Factory::constant 2024-10-14 06:28:14 +02:00
hashlib.h Explictly #include <variant> for std::variant usage. 2024-10-07 21:57:30 +00:00
json.cc Support for BTOR witness to Yosys witness conversion 2023-01-11 18:07:16 +01:00
json.h Support for BTOR witness to Yosys witness conversion 2023-01-11 18:07:16 +01:00
log.cc log: Never silence `log_cmd_error` 2024-09-24 17:47:46 +02:00
log.h kernel/log: Add log_str helper for custom log_* functions/overloads 2024-08-21 10:58:39 +01:00
macc.h rtlil: represent Const strings as std::string 2024-10-14 06:28:12 +02:00
mem.cc kernel/mem: Fix Cygwin compat 2024-12-03 13:15:33 +13:00
mem.h rtlil: represent Const strings as std::string 2024-10-14 06:28:12 +02:00
modtools.h remove template declaration that stops function from being used 2023-01-11 16:09:05 +01:00
qcsat.cc Add coarse-grain $buf buffer cell type 2024-09-17 10:46:20 +02:00
qcsat.h Refactor common parts of SAT-using optimizations into a helper. 2021-08-09 16:54:35 +02:00
register.cc cmdref: Move html only section inside cmd:def 2024-10-17 06:06:57 +13:00
register.h kernel: Avoid including files outside include guards 2024-04-02 16:53:56 +02:00
rtlil.cc rtlil: Adjust internal check for `$mem_v2` cells 2024-11-08 15:18:43 +01:00
rtlil.h Move get_blackbox_attribute method to Module instead of AttrObject 2024-11-28 11:19:16 +13:00
satgen.cc rtlil: represent Const strings as std::string 2024-10-14 06:28:12 +02:00
satgen.h sat: Add -set-def-formal option to force defined $any* outputs 2022-11-28 14:50:52 +01:00
scopeinfo.cc Add scopeinfo index/lookup utils 2024-02-06 18:01:26 +01:00
scopeinfo.h Add scopeinfo index/lookup utils 2024-02-06 18:01:26 +01:00
sexpr.cc factor out SExpr/SExprWriter classes out of smtlib backend, and also tidy them up/document them 2024-08-21 11:03:27 +01:00
sexpr.h factor out SExpr/SExprWriter classes out of smtlib backend, and also tidy them up/document them 2024-08-21 11:03:27 +01:00
sigtools.h sigmap: comments 2024-07-18 16:02:11 +02:00
timinginfo.h portarcs: New command to derive propagation arcs 2024-11-13 16:20:35 +01:00
topo_scc.h functional backend: topological sort starts with the output and next states nodes, other nodes get deleted 2024-08-21 11:03:29 +01:00
utils.h convert class FunctionalIR to a namespace Functional, rename functionalir.h to functional.h, rename functional.h to compute_graph.h 2024-08-21 11:04:08 +01:00
yosys.cc yosys: fix pyosys initialization segfault 2024-10-18 11:56:13 +02:00
yosys.h kernel: Avoid including files outside include guards 2024-04-02 16:53:56 +02:00
yosys_common.h rtlil: represent Const strings as std::string 2024-10-14 06:28:12 +02:00
yw.cc rtlil: represent Const strings as std::string 2024-10-14 06:28:12 +02:00
yw.h sim/formalff: Clock handling for yw cosim 2023-01-11 18:07:16 +01:00