Professional Documents
Culture Documents
IP Cores Design From Specifications To Production: Modeling, Verification, Optimization, and Protection 1st Edition Khaled Salah Mohamed (Auth.)
IP Cores Design From Specifications To Production: Modeling, Verification, Optimization, and Protection 1st Edition Khaled Salah Mohamed (Auth.)
https://textbookfull.com/product/biota-grow-2c-gather-2c-cook-
loucas/
https://textbookfull.com/product/fundamentals-of-ip-and-soc-
security-design-verification-and-debug-1st-edition-swarup-bhunia/
https://textbookfull.com/product/foundations-of-hardware-ip-
protection-1st-edition-lilian-bossuet/
Concrete Segmental Bridges: Theory, Design, and
Construction to AASHTO LRFD Specifications 1st Edition
Dongzhou Huang
https://textbookfull.com/product/concrete-segmental-bridges-
theory-design-and-construction-to-aashto-lrfd-specifications-1st-
edition-dongzhou-huang/
https://textbookfull.com/product/concrete-segmental-bridges-
theory-design-and-construction-to-aashto-lrfd-specifications-1st-
edition-dongzhou-huang-author/
https://textbookfull.com/product/biotechnology-for-biofuel-
production-and-optimization-1st-edition-eckert/
https://textbookfull.com/product/open-education-from-oers-to-
moocs-1st-edition-mohamed-jemni/
https://textbookfull.com/product/strawberries-production-
postharvest-management-and-protection-1st-edition-r-m-sharma-
editor/
ACSP · Analog Circuits And Signal Processing
IP Cores
Design from
Specifications
to Production
Modeling, Verification, Optimization,
and Protection
Analog Circuits and Signal Processing
Series editors
Mohammed Ismail
Mohamad Sawan
This book discusses the life cycle process of IP cores from specification to produc-
tion which includes four major steps: (1) IP modeling, (2) IP verification, (3) IP
optimization, and (4) IP protection. Moreover, the book presents most of the famous
memory cores and controller IPs and analyzes the trade-off between them. In this
book, we give an in-depth introduction to SoC buses and peripheral IPs. We explain
their features and architectures in detail. Moreover, we provide a deep introduction
to Verilog from both implementation and verification points of view. The book pres-
ents a simple methodology in building a reusable RTL verification environment
using UVM. UVM is a culmination of well-known ideas and best practices.
Moreover, it presents simple steps to verify an IP and build an efficient and smart
verification environment. A SoC case study is presented to compare traditional veri-
fication with a UVM-based verification. Bug localization is a process of identifying
specific locations or regions of source code that is buggy and needs to be modified
to repair the defect. Bug localization can significantly reduce human effort and
design cost. In this book, a novel automated coverage-based functional bug local-
ization method for complex HDL designs is proposed, which significantly reduces
debugging time. The proposed bug localization methodology takes information
from regression suite as an input and produces a ranked list of suspicious parts of
the code. We present an online RTL-level scan-chain methodology to reduce debug-
ging time and effort for emulation. Run-time modifications of the values of any of
the internal signals of the DUT during execution can be easily performed through
the proposed online scan-chain methodology. A utility tool has been developed to
help ease this process.
v
Contents
1 Introduction ............................................................................................... 1
References ................................................................................................... 11
2 IP Cores Design from Specifications to Production: Modeling,
Verification, Optimization, and Protection ............................................. 13
2.1 Introduction ........................................................................................ 13
2.2 IP Modeling ....................................................................................... 13
2.2.1 FPGA ..................................................................................... 15
2.2.2 Processor ................................................................................ 23
2.2.3 ASIC ...................................................................................... 25
2.2.4 PCB ........................................................................................ 27
2.3 IP Verification .................................................................................... 27
2.3.1 FPGA-Based/Processor-Based IP Verification ...................... 28
2.3.2 ASIC-Based IP Verification ................................................... 36
2.3.3 PCB-Based IP Verification..................................................... 37
2.4 IP Optimization .................................................................................. 37
2.4.1 FPGA-Based IP Optimization................................................ 37
2.4.2 Processor-Based IP Optimization .......................................... 44
2.4.3 ASIC-Based IP Optimization................................................. 45
2.4.4 PCB-Based IP Optimization .................................................. 46
2.5 IP Protection....................................................................................... 47
2.5.1 FPGA-Based/Processor-Based IP Protection ........................ 47
2.5.2 ASIC-Based IP Protection ..................................................... 47
2.5.3 PCB-Based IP Protection ....................................................... 48
2.6 Summary ............................................................................................ 48
References ................................................................................................... 49
3 Analyzing the Trade-off Between Different Memory Cores
and Controllers.......................................................................................... 51
3.1 Introduction ........................................................................................ 51
3.2 Memory Cores ................................................................................... 52
3.3 Why Standards? ................................................................................. 57
vii
viii Contents
• First IC (2 transistors)
1961
• 3D Integration era
2004
Fig. 1.1 The most important milestones in VLSI: it is all about integration
To conquer the complexity of SoC, predesigned components are used (IP reuse)
[4]. Hardware IP cores have emerged as an integral part of modern SoC designs. IP
cores are predesigned and preverified complex functional blocks. Based on their
properties, IP cores can be distinguished into three types of cores: hard, firm, and
soft as depicted in Table 1.3 [5, 6], where Soft-cores are architectural modules
which are synthesizable and offer the highest degree of modification flexibility,
Firm-cores are delivered as a mixture of RTL code and a technology-dependent
netlist [7], and are synthesized with the rest of ASIC logic, and Hard-cores are mask
and technology-dependent modules. Mapping of IP cores on VLSI design flow is
shown in Fig. 1.8. IP core categories tradeoffs are summarized in Fig. 1.9.
1 Introduction 3
System
on Chip
Hardware Software
Mixed
Analog Digital RF Peripherals Storage OS Applications
Signal
Fig. 1.2 SoC components: it contains hardware and software. Not all software fits on hardware,
we have to check the compatibility
Memory RF
Mixed
BUS
Processors Digital
RTOS
Analog
Fig. 1.3 An example of SoC architecture. Different components in single chip (same piece of Si).
Many of the components have become standard IP
ROM
Logic Peripheral
µP
Logic Peripheral
RAM
Logic Peripheral
Peripheral
ROM
Logic
µC
Logic
RAM Peripheral
Peripheral
ROM
FPGA
µC
RAM Peripheral
Fig. 1.6 Single board computer with microcontroller and programmable logic
1 Introduction 5
Peripheral
ROM FPGA
µC
RAM Peripheral
Soft RTL
RTL
Verilog-Code Synthesis
Placement and
Routing
Layout
Hard
PLL Tape-Out
Soft
Core
Flexibility
Reusability
Firm
Core
Hard
Core
Fig. 1.10 A simplified high-level overview of IC design flow. PG stands for pattern generation
The complete picture for electronic systems is described in Figs. 1.11 and 1.12.
For System with multiple SoCs, globally asynchronous locally synchronous (GALS)
interconnect concept is used to simplify its design (Fig. 1.13). GALS aims at filling
the gap between the purely synchronous and asynchronous domains [9].
IP cores life cycle process from specification to production includes four major
steps: (1) IP Modeling, (2) IP verification, (3) IP optimization, (4) IP protection.
These steps are elaborated in Fig. 1.14 [11].
IP life cycle is completed with the help of computer aided design (CAD)/
electronic design automation (EDA) tools. EDA tools provide software to be used
to create all of the world’s electronic systems (VLSI, IC, IP, and SoC). The EDA
tools play a vital rule in converting an IP specification to an IP product [10].
8 1 Introduction
SoCs
IPs
Blocks
Gates
Transistors
Layout
(Rectangles)
Anatomy of EDA Tools: CAD + TCAD. TCAD tools are used for fabrication pro-
cess, where it simulates the electrical characteristics of semiconductor devices. The
EDA tools can be categorized according to the functionality:
1. Design entry (capture tools)
2. Synthesis tools
3. Simulation tools
4. IC physical design & layout tools
5. IC verification tools
6. PCB design & analysis tools
The most famous EDA companies are SYNOPOSYS, MENTOR GRAPHICS,
and CADENCE.
1
Board
SoC Memory RF
IP “Not” transistor-level
Vdd
Mixed
Introduction
BUS
Processors Digital
SoC2
RTOS IP A Q
IP IP
Analog
transistor1
Configurable Hardware Peripherals
Vss
Digital
10b/8b Mux
SERDES (encode)
IN1 Gate
Block2 Block1 SEL
Gate OUT
MUX/DEMUX
9
Fig. 1.12 Detailed electronic systems level, where a single board contains number of SoCs and each SoC consists of a number of IPs, these IPs consist of a
number of blocks which consist of a number of gates. Gates consist of a number of transistors [8]
10
Fig. 1.13 System with multiple SOCs. Synchronous modules on a chip communication asynchronously [8]
1
Introduction
References 11
References
2.1 Introduction
As stated earlier in the previous chapter, plug and play IP in SoC design is the recent
trend in VLSI design (Fig. 2.1). IP cores life cycle process from specification to
production includes four major steps: (1) IP modeling, (2) IP verification, (3) IP
optimization, (4) IP protection. These steps are elaborated in Fig. 2.2. In the next
sections, we will discuss each step in detail.
2.2 IP Modeling
To model an IP, we have four design modeling methodologies as depicted in Fig. 2.3
[1–6]:
1. FPGA-based Modeling: defined by fixed functionality and connectivity of
hardware elements.
2. Processor-based Modeling: Processor running programs written using a
predefined fixed set of instructions (ISA).
3. ASIC-based Modeling: Silicon-level Layout.
4. PCB-based Modeling: it uses standard ICs such as 74xx (TTL), 40xx (CMOS),
it is not VLSI, it is just discrete components.
The comparison between theses typical hardware options is shown in Table 2.1.
Choice of any option depends on application and requirements.
Optimization
a Top-Down
b
Address bus
PC Control IR
Memory
ALU
ACC
Data bus
c d
Down-Top
I/P O/P
Fig. 2.3 (a) FPGA-based modeling, (b) processor-based modeling, (c) ASIC-based modeling,
(d) PCB-based modeling
2.2.1 FPGA
8.1 Multiplexer
0 0 1 0 0 001
l y 010
c 0 1 0 1 1
0 1 1 1 1 011
y
y = (a & b)| !c 1 0 0 1 1 100
1 0 1 0 0 101
1 1 0 1 1 110
1 1 1 1 1 111
abc
Referring to Fig. 2.3a, the general architecture of FPGA is shown where, CLB:
Configurable Logic Block, IOB: Input/Output Block, and PSM: Programmable
Switch Matrix. CLBs provide the functional elements for implementing the user’s
logic. IOBs provide the interface between the package pins and internal signal lines.
Routing channels provide paths to interconnect the inputs and outputs of the CLBs
and IOBs. An example for CLB and PSM architecture is shown in Fig. 2.5 [7–9].
The configurable block can be MUX not only LUT. MUX can implement any
function, an example for implementing NOT and XOR function is shown in Figs. 2.6
and 2.7 respectively. Also an example for building a latch is shown in Fig. 2.8.
FPGAs can be also classified according to their routing structure. The three most
common structures are island-style, hierarchical, and row-based [10]. FPGAs are
one-size fits all architectures.
FPGA is considered a top-down methodology (RTL to layout), this methodology
makes design of complex systems more simpler as it focuses on functionality, reduce
time-to-market as it shortens the design verification loop, and makes exploring dif-
ferent design options easier and cheaper for example (latency versus throughput).
As for modeling languages and the scope of using FPGA-based design, two lev-
els for IP modeling are highlighted register-transfer level (RTL) and transaction
level modeling (TLM) (Table 2.2).
RTL is the abstraction level between algorithm and logic gates. In RTL descrip-
tion, circuit is described in terms of registers (flip-flops or latches) and the data is
transferred between them using logical operations (combinational logic, if needed).
That is why the nomenclature: Register-Transfer Level (RTL). Y-chart is shown
in Fig. 2.9.
TLM is a technique for describing a system by using function calls that define a
set of transactions over a set of channels. TLM descriptions can be more abstract,
and therefore simulate more quickly than the RTL. TLM separates computation
from communication as depicted in Fig. 2.10.
Modeling at the transactional level has several advantages, not only for the IP
provider (designers and verification engineers), but also for the users, which can
evaluate the performances and the behavior of the IP very early in the design flow.
2.2 IP Modeling 17
MUX
S
S
..
SRAM cell .
S
f1 f2 f3 f4
CLB:LUT
A C
Inp = ,
1 b=1,
b
en a=0.
inp
The different levels of abstraction and the different modeling languages are shown
in Fig. 2.11 and Table 2.3.
System level modeling is widely employed at early stages of system develop-
ment for simplifying design verification and architectural exploration. Raising the
abstraction level results in a faster development of prototypes and the reduction of
implementation details in system level design can increase the simulation speed
and allow a more global view of the system. During the phase of RTL development,
the system level design can serve as a reference model for RTL design and
verification.
18 2 IP Cores Design from Specifications to Production: Modeling, Verification…
Inp1=en,
Inp2 Inp2=b,
b
en a= .
Inp1
clk = ,
b=Q,
b
en a=D.
clk
There are several high-level modeling languages like Systemverilog [11] and
SystemC [12]. TLM does not contain a clock signal. TLMs use function calls for
communication between different modules and events to trigger communication
actions. It allows designers to implement high-level communication protocols for
simulations up to faster than at register-transfer level (RTL). Thus encouraging the
use of virtual platforms for fast simulation prior to the availability of the RTL code.
2.2
IP Modeling
Fig. 2.9 Y-chart for RTL design representation: levels of abstraction (structural, behavioral, physical)
19
20 2 IP Cores Design from Specifications to Production: Modeling, Verification…
Fig. 2.10 TLM and RTL example, where TLM does not take into consideration the details, i.e.,
higher abstraction level. TLM replaces all pin-level events with a single function call. TLM speeds
up verification
Algorithm
MATLAB
Architecture
SystemC
C/C++
HW/SW
Behavior
System
Functional Verification Verilog
VHDL Verilog
RTL
Gates
Transistors
LIRIA
¿Es mi amiga quien tiene tu
alegría?
FANIO
Si tanto fuera mía, en tal
fortuna,
poca quexa ó ninguna se
tuviera.
LIRIA
Pues di dessa manera mal
tan duro,
que, por mi fe, te juro de
hablalla
y á tu amor incitada. F. Que
me place;
á mí me satisface tu
promessa,
aunque en la alma me pesa de
probarte;
y antes quiero mostrarte
aquesta carta,
que con angustia harta tengo
escrita,
para aquella que quita mi
contento;
jamás mi pensamiento fué
adivino,
que fueras, papel, dino de
hallarte
donde pudo llegarte mi osadía:
leedle, Liria mía, parte á
parte.
CARTA
La libertad ganada,
porque en tan buena empresa
va perdida;
la voluntad prendada,
el alma enriquecida,
viéndose en su servicio de
partida,
Indignas de llamarte,
sin tu licencia, el nombre de
señora,
vienen á suplicarte
que se la des ahora,
y cada cual se llamará
deudora.
Recibe por cautivas
las que este nombre en su
sepulcro escriben;
verás, si no te esquivas
y tal merced reciben,
cómo en mí solo mueren, en ti
viven.
Inclina á mis cansadas
razones tus orejas, por
ventura;
no sean despreciadas
en afición tan pura
las mismas obras de tu
hermosura.
Al fin mi fe y mi pena,
pues de ti nacen, tuyo será el
cargo,
y aquí cesse la vena
de estilo tan amargo,
corto en hablarte y en pedirte
largo.
LIRIA
La carta está tan buena que,
aunque pruebe
de mil maneras, no sabré
loalla,
porque es, en fin,
compendiosa y breve.
FANIO
¿Parécete que puedo
aventuralla?
LIRIA
Paréceme que pierdes de
ventura
lo que te detuvieres en
cerralla.
FANIO
¿Parécete que llegará
segura
de que puedan culparme de
arrogante?
LIRIA
Paréceme un retrato de mesura.
FANIO
¿Al fin me juzgas verdadero
amante?
LIRIA
Y que mereces ser galardonado.
FANIO
Quiera Dios que assí digas
adelante.
LIRIA
Pero ya que la carta me has
mostrado,
dime, ¿quién fue la causa de
hacella?
Pues sé la pena, sepa quién la
ha dado.
FANIO
En cinco partecillas que hay
en ella,
pedrás saber el todo que
pretendo,
si adivinares el secreto della.
LIRIA
Tórnamelo á decir, que no lo
entiendo.
FANIO
De cada cinco estancias ve
tomando
la primer letra y velas
componiendo:
Porque estas cinco letras
ayuntando,
por el orden que digo,
fácilmente
el nombre de mi alma irás
formando.
LIRIA
No te he entendido
verdaderamente,
¿acaso dice Leria? F. Con
dos ies
no puede pronunciar Leria el
leyente.
LIRIA
¿Dice por dicha Libia? F. No
porfíes,
¿con erre Libia? Buen
descuido es esse.
LIRIA
Pues menester será que tú me
guíes.
FANIO
Habrélo de hacer, aunque
me pese,
que Liria dice. L. Siria. ¿Pues
entiendes
que no lo sé decir si lo
leyesse?
FANIO
Pues, Siria, digo yo, ¿por
qué me vendes
descuidos, cuando el alma me
has robado,
y con falsa ignorancia te
defiendes?
¿Dónde te vas, pastora? L.
A mi ganado.
FANIO
Mira, pastora, tente. L.
¿Qué locura
es ésta que tan presto te ha
tomado?
¿Estás loco, pastor? F. Que
no hay cordura
en quien no la perdiesse,
contemplando
mi amor y tu desdén y
hermosura.
LIRIA
Déjame, ¿qué pretendes? F.
Que llorando
me veas fenecer. L. Deja mi
mano.
FANIO
Y tú mi alma, que la estás
matando.
LIRIA
¡Oh solitario valle! ¡oh
campo llano!
¿Habrá quien lastimoso me
defienda
deste pastor perdido, deste
insano?
FANIO
Escucha, Liria, ya solté la
rienda
á lo osadía para detenerte,
no bastará aunque Júpiter
descienda.
LIRIA
¿Qué quieres? F. Quiero en
todo obedecerte,
si no es ahora en esta fácil
cosa,
que estés presente al passo
de mi muerte.
LIRIA
Otra podrás buscas más animosa.
FANIO
Pues para dar la muerte eres
osada,
para verme morir no seas
medrosa.
LIRIA
Suéltame, Fanio. F. Ya
serías soltada,
por no enojarte, si tuviesse
cierto
que escucharías un rato
sossegada.
LIRIA
Suéltame, que no aprietas como
muerto.
FANIO
Asido á las aldabas de la
vida,
pensar muerte prenderme es
desconcierto.
LIRIA
Suelta ya. F. Sí haré; mas
sei servida
de me escuchar. L. Como no
fuesses largo.
FANIO
Esso, tu voluntad será medida.
Y si te pareciere que me
alargo,
mándame tú callar, y verás
luego
cómo procuro en todo echarte
cargo.
Ser contigo atrevido no lo
niego;
mas ¿qué derecho guardará el
forzado
ó cómo no cairá sin luz el
ciego?
LIRIA
Esso me agrada, llámate
culpado,
y yo te escucharé de buena
gana.
FANIO
Y aun si quieres me doy por
condenado.
Mira esta parra fértil tan
lozana,
cómo por este olmo infrutuoso
se abraza, y lo que él gana y
ella gana.
El con ella se muestra más
hermoso,
y ella sin él cayera por el
suelo,
do no fuera su fruto
provechoso.
La flor desamparada quema
el hielo,
no hay cosa sola en la
Naturaleza,
y lo que no aprovecha no es
del cielo.
Goza con tiempo de tu
gentileza,
que el día passado no puede
cobrarse,
ni como rosa torna la belleza.
Cuando un estado tiene de
tomarse,
hallando la ocasión que es
conveniente,
¿qué sirve ó qué aprovecha
dilatarse?
No te niego yo, Liria, que al
presente
podrías escoger otro que
fuesse
en bondad y en hacienda
preminente;
Mas si tomasses á quien
más valiesse
que yo, yo juraré que no
hallases
otro que más ni tanto te
quisiesse.
Demás desto, pastora, si
mirasses
mi edad y mi hacienda y mis
respetos,
podría ser que no me
despreciasses.
Y sobre todo, mira los efetos
que en mí hacen tu gracia y
hermosura,
que bastan á suplir muchos
defetos.
LIRIA
Basta, pastor; que Dios te
dé ventura;
yo te agradezco amor tan
verdadero,
y escúchame otro poco, por
mesura.
¿Qué sabes tú si por
ventura quiero
y amo otro pastor, de tal
manera
que, como tú por mí, por él me
muero;
Y le tengo una fe tan
verdadera,
que aunque la vida su afición
me cueste,
ha de ser la primera y la
postrera?
¿Qué es esto, Fanio? ¿qué
desmayo es éste?
¿háceslo adrede? No, que
estás muy frío.
¿Hay algún Dios que su favor
te preste?
Recuerda, Fanio. ¡Oh
Ninfas deste río,
venidme á socorrer un caro
amigo,
porque no me castigue el error
mío!
Recuerda ya, los Dioses
sean contigo,
mira que lo que dije fué
burlando,
y ahora es verdadero lo que
digo.
FANIO
¿Yo muero, ó vivo, ó veo, ó
estoy soñando?
¿qué ha sido, Liria? L. A lo
que entiendo,
ibaste con el sueño
transportando;
Que como yo te estaba
persuadiendo
que te dejasses de tan vana
empresa,
con el placer quedástete
durmiendo.
FANIO
Más que esso, Liria, á lo
que entiendo pesa:
paréceme que me ponías un
caso
donde el extremo de miserias
cesa.
LIRIA
De esso, pastor, no hagas
mucho caso,
si le haces de mí, porque son
cosas,
que en efeto las digo y no las
passo.
Mas porque son razones
peligrosas,
estas que aquí passamos,
quiero irme,
que bien bastan dos horas
para ociosas.
FANIO
Yo de ti y de la vida
despedirme,
que aqueste lazo acabará mis
días
si como tú se me mostrare
firme.
LIRIA
Mira, pastor, no hagas
niñerías,
que para verme y aun para
hablarme
no faltará lugar más de dos
días.
FANIO
Esso, pastora mía, ¿es
engañarme?
LIRIA
Es gran llaneza. F. Y
aunque no lo sea,
bien bastará para resucitarme.
LIRIA
Fanio, lo que yo digo se me
crea,
y forzada me voy de aquí tan
presto,
adiós. F. El haga que otra vez
te vea.
Publicar tanto bien,
¿seráme honesto,
ó á poderlo callar, seré
bastante?
¿A quién iré que me aconseje
en esto?
DELIO
Tu verdadero amigo está delante.
FANIO
¡Oh, caro Delio mío, y cómo
atas
mi voluntad con lazos de
diamante!
¿Fuístete ó hasme oído? D.
Mal me tratas.
¿Irme tenía viéndote en tal
punto?
FANIO
¿Pues dónde estabas? D.
Entre aquellas matas.
Con tu desmayo me quedé
difunto,
pero decirte mi placer no
puedo
viendo á Liria en valerte tan á
punto.
Bien quisiera salir, mas tuve
miedo
de darte sobresalto ó
descontento,
y entre pena y placer me
estuve quedo.
FANIO
¿Pues hizo en mi desmayo
sentimiento?
DELIO
Tú como transportado no lo
viste;
mas cree de mí, que la verdad
te cuento,
Que se mostró tan alterada
y triste,
que comenzó á pedir al cielo
ayuda,
y mesuróse cuando en ti
volviste.
Sabe disimular, como es
sesuda,
mas de quererte como tú la
quieres,
no tengo yo (ni tú la tengas)
duda.
FANIO
Ya yo sé, Delio, que á
doquier que fueres,
ó tus consejos fueren
admitidos,
no faltarán contentos y
placeres.
DELIO
Essos tengas de Liria muy
cumplidos,
aunque en lo que quedaste
aquí hablando
cuando se fué, ofendiste á mis
oídos.
No sé qué te decías, no
bastando
á cerrar en tu pecho la alegría,
ora el callar, ora el hablar
dudando.
Pues mira qué consejo te
daría,
que, en lo que toca á Amor,
antes rebientes
que confieses agora que es de
día.
Bien pareces sencillo, pues
no sientes
cuánto debe excusar el
hombre sabio
la envidia y la malicia de las
gentes.
Al que te arrima dulcemente
el labio
no le fíes el dedo, que á tu
costa
podrá ser que conozcas su
resabio.
Porque la fe del mundo es
tan angosta,
tan ancha y prolongada la
malicia,
que la virtud escapa por la
posta.
Aquel que te hiciere más
caricia,
si te escudriña con industria el
pecho,
cree que tu mal y no tu bien
codicia.
Los bienes que el Amor te
hubiere hecho,
Fanio, tesoros son de duen de
casa,
cállalos, y entrarante en buen
provecho.
Y aquel refrán, que tan valido
passa,
que pierde el bien si no es
comunicado,
no atraviesse las puertas de tu
casa.
Calla con el amigo más
fundado,
que en prisión, en discordia ó
en ausencia,
no te arrepentirás de haber
callado.
Sabe que es general esta
dolencia,
entre la gente moza
respetarse
amigo á amigo sólo en la
presencia.
Que ya hemos visto alguno,
por fiarse
de un gran amigo, hecha su
jornada,
pensar que es todo un tiempo,
y engañarse.
Y alguno vi con suerte
confiada,
lleno de vanagloria en sus
favores,
después hallarse un nido con
no nada.
Y cuando la ocasión destos
temores
cessasse (que impossible me
parece),
por ley han de callar los
amadores.
Y en lo que ahora de tu bien
se ofrece,
no te descuides, menos te
apressures,
que lo extremado apenas
permanece.
¿Qué me respondes,
Fanio? F. Que no cures,
de decir más, que poco daño
temo
con tal que tú por mi salud
procures.
Demás que siempre huigo
yo el extremo,
y callo bien, como si fuesse un
canto,
y de mi hermano en mi afición
blasfemo.
DELIO
Cumple que assí lo hagas; y
con tanto
me voy, que tengo lejos el
abrigo,
y desdobla la noche apriessa
el manto.
Y porque pienso luego dar
conmigo
en el monte de pino, á las
paranzas,
quédate en paz. F. Y vaya
Dios contigo.
DELIO
Allá te avén con vanas
esperanzas,
que aunque se muestra tu
fortuna mansa,
quizá te arrastrarán tus
confianzas.
FANIO
Delio me espanta cómo no
descansa,
si topa con quien ha de
respetarle,
que habla tanto, que, aunque
bueno, cansa;
ya yo lo estaba casi de
escucharle.
SASIO
Esto que traigo en mi pecho
no puede ser sino amor,
pues me siento en su rigor
agraviado y satisfecho;
yo oso en la cobardía
y en el osar me acobardo;
¿qué me guardo,
si la nieve que me enfría
es el fuego en que me ardo?
Guárdome de tal manera
que me guardo del contento,
pues la causa del tormento
fué mi ventura primera.
Ampárome con mi ofensa
porque sé que aunque más
pene,
me conviene
no hacer jamás defensa
sino al bien que sin vos viene.
En la empresa comenzada
no puede faltarme gloria,