doc updates (links to fsic2022 presentation)

This commit is contained in:
Stefan Frederik 2022-07-15 00:07:15 +02:00
parent b5662fe551
commit 8275a99d8d
5 changed files with 56 additions and 7 deletions

View File

@ -106,6 +106,7 @@
#### variable controls hierarchical print
#### default value: empty
# set noprint_libs {}
###########################################################################
#### CHANGE DEFAULT [] WITH SOME OTHER CHARACTERS FOR BUSSED SIGNALS
#### IN SPICE NETLISTS (EXAMPLE: DATA[7] --> DATA<7>)
@ -151,6 +152,10 @@
#### default: 0
# set persistent_command 1
#### if set to 1 a wire is inserted when separating components that are
#### connected by pins. Default: not enabled (0)
# set connect_by_kissing 1
#### if set to 1 automatically join/trim wires while editing
#### this may slow down on rally big designs. Can be disabled via menu
#### default: 0
@ -166,6 +171,15 @@
#### enable to scale grid point size as done with lines at close zoom, default: 0
# set big_grid_points 0
#### enable grouping contiguous bits of bus slices in net->pin instance
#### assignments for verilog netlists. Default: disabled (0)
# set verilog_bitblast 0
#### allow searching the full search path for schematics associated to symbols
#### instead of looking only in symbol directory. Default: disabled (0).
# set search_schematic 0
###########################################################################
#### EXPORT FORMAT TRANSLATORS, PNG AND PDF
###########################################################################
@ -323,7 +337,7 @@ set editor {notepad.exe}
#### XSCHEM TOOLBAR
###########################################################################
#### default: not enabled.
set toolbar_visible 1
# set toolbar_visible 1
# set toolbar_horiz 1
###########################################################################
@ -331,4 +345,17 @@ set toolbar_visible 1
###########################################################################
# default: not enabled. Interface can be changed runtime if only one window
# or tab is open.
# set tabbed_interface 1
# set tabbed_interface 1
###########################################################################
#### CASE INSENSITIVE SYMBOL LOOKUP
###########################################################################
## this option might be useful on filesystems that are case insensitive and
## on designs ported from windows where case of file names does not matter.
## if this option is set symbol lookup will be case insensitive,
## so a symbol reference 'AMPLI.SYM' will match with 'ampli.sym' or
## Amply.sym on disk. File system must be case insensitive for this to work,
## like FAT32 or NTFS.
## Do not set this option if you don't know what you are doing.
## Default: not enabled (0)
# set case_insensitive 1

View File

@ -21,7 +21,11 @@
<!-- slide title -->
<br><br>
<div class="idx">
<h2><a href="tutorial_xschem_slides.html">Xschem slides</a></h2>
<h2>
<a href="tutorial_xschem_slides.html">Xschem slides</a>
<a href="https://xschem.sourceforge.io/stefan/xschem_man/video_tutorials/xschem_fsic2022_presentation.pdf">[PDF version]</a>
</h2>
<h2><a href="https://xschem.sourceforge.io/stefan/xschem_man/video_tutorials/xschem_fsic2022_presentation.mp4">[Video] Xschem FSiC2022 presentation</a></h2>
<h3><a href="https://xschem.sourceforge.io/stefan/xschem_man/xschem_man.pdf">
All in one pdf documentation (repo.hu, github, sourceforge version with autoconfig)</a></h3>

View File

@ -216,6 +216,7 @@ int hook_detect_target()
}
*/
}
append("cc/cflags", " -Werror=format-security");
}
if (require("libs/io/popen/*", 0, 0) != 0) {

View File

@ -638,19 +638,31 @@ int find_fstools_ranlib(const char *name, int logdepth, int fatal)
{
const char *ranlib, *target;
char *targetranlib;
int len;
int len, no_cc, no_ar;
char *test_code = NL "int zero() { return 0; }" NL;
char *obj = ".o";
(void) fatal; /* to suppress compiler warnings about not using fatal */
require("fstools/ar", logdepth, fatal);
require("cc/cc", logdepth, fatal);
no_ar = require("fstools/ar", logdepth, fatal);
no_cc = require("cc/cc", logdepth, fatal);
report("Checking for ranlib... ");
logprintf(logdepth, "find_fstools_ranlib: trying to find ranlib...\n");
logdepth++;
if (no_cc) {
report("can't test (no c compiler)\n");
logprintf(logdepth, "find_fstools_ranlib: can't test (no c compiler)\n");
return 1;
}
if (no_ar) {
report("can't test (no ar)\n");
logprintf(logdepth, "find_fstools_ranlib: can't test (no ar)\n");
return 1;
}
logprintf(logdepth, "compiling test object...\n");
if (compile_code(logdepth+1, test_code, &obj, NULL, "-c", NULL) != 0) {
logprintf(logdepth, "ERROR: Can't compile test object\n");

View File

@ -84,7 +84,12 @@ int compile_file_raw(int logdepth, const char *fn_input, char **fn_output, const
*fn_output = tempfile_new(*fn_output);
unlink(*fn_output);
cc_esc = shell_escape_dup(cc == NULL ? get("cc/cc") : cc);
cc_esc = (cc == NULL ? get("cc/cc") : cc);
if (cc_esc == NULL) {
error("Trying to compile without a compiler available (cc/cc is empty)\n");
abort();
}
cc_esc = shell_escape_dup(cc_esc);
fn_input_esc = shell_escape_dup(fn_input);
fn_output_esc = shell_escape_dup(*fn_output);
temp_out_esc = shell_escape_dup(temp_out);