1 |
[en] A LIBRARY FOR THE CREATION OF NETWORK-PROCESSORS-BASED VIRTUAL MACHINES / [pt] UMA BIBLIOTECA PARA CRIAÇÃO DE MÁQUINAS VIRTUAIS BASEADAS EM PROCESSADORES DE REDETELVIO MARTINS DE MELLO 27 June 2005 (has links)
[pt] O objetivo deste trabalho é estudar, propor e implementar
uma ferramenta
que permita a experimentação com arquiteturas que sigam o
paradigma de
Processadores de Rede - Network Processors (NP). Com esse
intuito, foi
implementada uma biblioteca de objetos genéricos que
permite emular os
diversos componentes de hardware (tais como memórias,
registradores,
unidades de controle, unidades lógico-aritméticas, etc.)
presentes em
arquiteturas especificas para o processamento de
protocolos. A conjunção
desses componentes permite gerar máquinas virtuais que
podem ser exercitadas
para testar ou verificar o funcionamento das mais diversas
operações nesses
ambientes. Além da biblioteca, são apresentados três
estudos de casos distintos:
o primeiro mostrando um processador criado para teste e os
outros dois
implementam arquiteturas baseadas no processador MCS85 e no
núcleo ARM
do Processador IXP, todos com o intuito de validar e
mostrar a utilidade prática
da ferramenta. / [en] The aim of this work is to study, propose and implement a
tool
that allows the experimentation with architectures that
follow the
Network Processors (NP) paradigm. A generic object library
was
implemented, allowing the emulation of the various hardware
components, such
as memories, registers, arithmetic-and-logical units,
control units etc., that are commonly used within specific
architectures for
protocol processing. The integrated usage of these
components will
provide an environment where virtual machines can be
created and tested
to verify the behavior of many different operations.
Besides the library
itself, three use cases are presented to validate and show
the utility of
the tool: the first is an implementation of a processor
created just for the sake of
testing and the other two are implementations of
architectures based on the
MCS85 processor and on the ARM kernel of the Intel IXP
Network Processor.
|
2 |
[en] INTEGRATING THE LUA LANGUAGE AND THE COMMON LANGUAGE RUNTIME / [pt] INTEGRAÇÃO ENTRE A LINGUAGEM LUA E O COMMON LANGUAGE RUNTIMEFABIO MASCARENHAS DE QUEIROZ 27 May 2004 (has links)
[pt] O Common Language Runtime (CLR) é uma plataforma criada
com o objetivo de facilitar a interoperabilidade entre
diferentes linguagens de programação, através de uma
linguagem intermediária (a Common Intermediate Language,
ou CIL) e um sistema de tipos comum (o Common Type System,
ou CTS). Lua é uma linguagem de script flexível e de
sintaxe simples; linguagens de script são frequentemente
usadas para juntar componentes escritos em outras
linguagens, para construir protótipos de aplicações, e em
arquivos de configuração. Este trabalho apresenta duas
abordagens de integração entre a linguagem Lua e o CLR,
com o objetivo de permitir que scripts Lua instanciem e
usem componentes escritos para o CLR. A primeira
abordagem é a de criar uma ponte entre o interpretador
Lua e o CLR, sem modificar o interpretador. Os recursos e
a implementação desta ponte são mostrados, e ela é
comparada com trabalhos que seguem a mesma abordagem. A
segunda abordagem é a de compilar as instruções da
máquina virtual do interpretador Lua para instruções da
Common Intermediate Language Do CLR, sem introduzir
mudanças na linguagem Lua. A implementação de
um compilador de instruções Lua para CIL é mostrada, e o
desempenho de scripts compilados por ele é comparado com
o desempenho dos mesmos scripts executados pelo
interpretador Lua e com o de scripts equivalentes
compilados por outros compiladores de linguagens de
script para o CLR. / [en] The Common Language Runtime (CLR) is a platform that aims
to make the interoperability among different programming
languages easier, by using a common language (the Common
Intermediate Language, or CIL) and a common type system
(the Common Type System, or CTS). Lua is a flexible
scripting language with a simple syntax; scripting
languages are frequently used to join components written in
other languages, to build application prototypes, and in
configuration files. This work presents two approachs for
integratiion between the Lua language and the CLR, with the
objective of allowing Lua scripts to instantiate and
use components written for the CLR. The first approach is
to create a bridge between the Lua interpreter and the CLR,
without changing the interpreter. The features and
implementation of this bridge are shown, and it is compared
with other work following the same approach. The second
approach is to compile the virtual-machine instructions of
the Lua interpreter to instructions of the CLR s Common
Intermediate Language, without introducing changes to the
Lua language. The implementation of a Lua instructions to
CIL compiler is shown, and the performance of scripts
compiled by it is compared with the performance of the same
scripts run by the Lua interpreter and with the performance
of equivalent scripts compiled by compilers of other
scripting language to the CLR.
|
Page generated in 0.028 seconds