Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
Wishbone slave generator
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
24
Issues
24
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Wishbone slave generator
Commits
09a4e412
Commit
09a4e412
authored
Jun 15, 2017
by
Dimitris Lampridis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc_latex: properly insert vertical space after register name
parent
0247d9e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
10 deletions
+7
-10
cgen_doc_latex.lua
cgen_doc_latex.lua
+4
-5
wbgen2
wbgen2
+3
-5
No files found.
cgen_doc_latex.lua
View file @
09a4e412
...
@@ -213,8 +213,7 @@ function cgen_doc_lx_reg(reg)
...
@@ -213,8 +213,7 @@ function cgen_doc_lx_reg(reg)
cur_reg_no
=
cur_reg_no
+
1
;
cur_reg_no
=
cur_reg_no
+
1
;
emit
(
"
\\
paragraph*{"
..
reg
.
name
..
"}\\vspace{12pt}"
);
emit
(
"
\\
paragraph*{"
..
reg
.
name
..
"}\\mbox\{\}\\\\\\vskip 6pt"
);
emit
(
""
);
local
tbl
=
htable_new
(
4
,
2
);
local
tbl
=
htable_new
(
4
,
2
);
...
@@ -292,8 +291,8 @@ cur_mem_no = 1;
...
@@ -292,8 +291,8 @@ cur_mem_no = 1;
function
cgen_doc_lx_ram
(
ram
)
function
cgen_doc_lx_ram
(
ram
)
local
description
=
""
;
local
description
=
""
;
emit
(
"
\\
paragraph*{"
..
ram
.
name
..
"}\\
vspace{12pt}
"
);
emit
(
"
\\
paragraph*{"
..
ram
.
name
..
"}\\
mbox\{\}\\\\\\vskip 6pt
"
);
emit
(
""
);
cur_mem_no
=
cur_mem_no
+
1
;
cur_mem_no
=
cur_mem_no
+
1
;
local
tbl
=
htable_new
(
11
,
2
);
local
tbl
=
htable_new
(
11
,
2
);
...
@@ -358,7 +357,7 @@ cur_irq_no = 1;
...
@@ -358,7 +357,7 @@ cur_irq_no = 1;
function
cgen_doc_lx_irq
(
irq
)
function
cgen_doc_lx_irq
(
irq
)
local
description
=
""
;
local
description
=
""
;
emit
(
"
\\
paragraph*{"
..
irq
.
name
..
"}\\
vspace{12pt}
"
);
emit
(
"
\\
paragraph*{"
..
irq
.
name
..
"}\\
mbox\{\}\\\\\\vskip 6pt
"
);
cur_irq_no
=
cur_irq_no
+
1
;
cur_irq_no
=
cur_irq_no
+
1
;
local
tbl
=
htable_new
(
3
,
2
);
local
tbl
=
htable_new
(
3
,
2
);
...
...
wbgen2
View file @
09a4e412
...
@@ -2717,8 +2717,7 @@ function cgen_doc_lx_reg(t)
...
@@ -2717,8 +2717,7 @@ function cgen_doc_lx_reg(t)
local
o
=
""
;
local
o
=
""
;
local
e
=
""
;
local
e
=
""
;
cur_reg_no
=
cur_reg_no
+
1
;
cur_reg_no
=
cur_reg_no
+
1
;
emit
(
"
\\
paragraph*{"
..
t
.
name
..
"}\\vspace{12pt}"
);
emit
(
"
\\
paragraph*{"
..
t
.
name
..
"}\\mbox\{\}\\\\\\vskip 6pt"
);
emit
(
""
);
local
a
=
htable_new
(
4
,
2
);
local
a
=
htable_new
(
4
,
2
);
a
.
data
[
1
][
1
].
text
=
"{\\bf HW prefix:} "
;
a
.
data
[
1
][
1
].
text
=
"{\\bf HW prefix:} "
;
a
.
data
[
2
][
1
].
text
=
"{\\bf HW address:} "
;
a
.
data
[
2
][
1
].
text
=
"{\\bf HW address:} "
;
...
@@ -2779,8 +2778,7 @@ end
...
@@ -2779,8 +2778,7 @@ end
cur_mem_no
=
1
;
cur_mem_no
=
1
;
function
cgen_doc_lx_ram
(
t
)
function
cgen_doc_lx_ram
(
t
)
local
a
=
""
;
local
a
=
""
;
emit
(
"
\\
paragraph*{"
..
t
.
name
..
"}\\vspace{12pt}"
);
emit
(
"
\\
paragraph*{"
..
t
.
name
..
"}\\mbox\{\}\\\\\\vskip 6pt"
);
emit
(
""
);
cur_mem_no
=
cur_mem_no
+
1
;
cur_mem_no
=
cur_mem_no
+
1
;
local
e
=
htable_new
(
11
,
2
);
local
e
=
htable_new
(
11
,
2
);
e
.
data
[
1
][
1
].
text
=
"{\\bf HW prefix:} "
;
e
.
data
[
1
][
1
].
text
=
"{\\bf HW prefix:} "
;
...
@@ -2831,7 +2829,7 @@ end
...
@@ -2831,7 +2829,7 @@ end
cur_irq_no
=
1
;
cur_irq_no
=
1
;
function
cgen_doc_lx_irq
(
a
)
function
cgen_doc_lx_irq
(
a
)
local
e
=
""
;
local
e
=
""
;
emit
(
"
\\
paragraph*{"
..
a
.
name
..
"}\\
vspace{12pt}
"
);
emit
(
"
\\
paragraph*{"
..
a
.
name
..
"}\\
mbox\{\}\\\\\\vskip 6pt
"
);
cur_irq_no
=
cur_irq_no
+
1
;
cur_irq_no
=
cur_irq_no
+
1
;
local
t
=
htable_new
(
3
,
2
);
local
t
=
htable_new
(
3
,
2
);
t
.
data
[
1
][
1
].
text
=
"{\\bf HW prefix:} "
;
t
.
data
[
1
][
1
].
text
=
"{\\bf HW prefix:} "
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment